Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3379 | Rev 3775 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
553 geraldo 2
 
3
declare(strict_types=1);
4
 
1 www 5
namespace LeadersLinked;
6
 
7
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
9
 
1044 efrain 10
 
1 www 11
return [
12
    'navigation' => [
13
        'menu' => [
14
            [
15
                'label' => 'LABEL_HOME',
16
                'route' => 'dashboard',
1412 efrain 17
                'class' => '/images/navbar/home.svg',
1 www 18
            ],
19
            [
20
                'label' => 'LABEL_PROFILE',
21
                'route' => 'profile',
1412 efrain 22
                'class' => '/images/navbar/perfil.svg',
1 www 23
                'pages' => [
24
                    [
2920 efrain 25
                        'label' => 'LABEL_CONNECTIONS',
26
                        'route' => 'connection',
27
                        'class' =>'/images/navbar/conexion.svg',
28
                        'pages' => [
29
                            [
30
                                'label' => 'LABEL_MY_CONNECTIONS',
31
                                'route' => 'connection/my-connections'
32
                            ],
33
                            [
34
                                'label' => 'LABEL_INVITATIONS_SENT',
35
                                'route' => 'connection/invitations-sent'
36
                            ],
37
                            [
38
                                'label' => 'LABEL_INVITATIONS_RECEIVED',
39
                                'route' => 'connection/invitations-received'
40
                            ],
41
                            [
42
                                'label' => 'LABEL_PEOPLE_YOU_MAY_KNOW',
43
                                'route' => 'connection/people-you-may-know'
44
                            ],
45
                            [
46
                                'label' => 'LABEL_PEOPLE_BLOCKED',
47
                                'route' => 'connection/people-blocked'
48
                            ],
49
 
50
 
51
                        ]
52
                    ],
53
                    [
1 www 54
                        'label' => 'LABEL_MY_PROFILES',
55
                        'route' => 'profile/my-profiles'
56
                    ],
57
                    [
1044 efrain 58
                        'label' => 'LABEL_JOBS_APPLIED',
59
                        'route' => 'job/applied-jobs'
263 geraldo 60
                    ],
61
                    [
1044 efrain 62
                        'label' => 'LABEL_JOBS_SAVED',
63
                        'route' => 'job/saved-jobs'
558 geraldo 64
                    ],
65
                    [
1044 efrain 66
                        'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
67
                        'route' => 'profile/people-viewed-profile'
68
                    ],
2920 efrain 69
 
1 www 70
                ]
71
            ],
1044 efrain 72
 
2920 efrain 73
 
1 www 74
            [
75
                'label' => 'LABEL_COMPANIES',
76
                'route' => 'company',
1412 efrain 77
                'class' => '/images/navbar/empresa.svg',
1 www 78
                'pages' => [
79
                    [
80
                        'label' => 'LABEL_MY_COMPANIES',
81
                        'route' => 'company/my-companies'
82
                    ],
83
                    [
84
                        'label' => 'LABEL_COMPANIES_I_FOLLOW',
85
                        'route' => 'company/following-companies'
86
                    ],
87
                    [
88
                        'label' => 'LABEL_COMPANIES_I_WORK_WITH',
89
                        'route' => 'company/i-work-with'
90
                    ],
91
                    [
92
                        'label' => 'LABEL_REQUESTS_SENT',
93
                        'route' => 'company/requests-sent'
94
                    ],
95
                    [
96
                        'label' => 'LABEL_INVITATIONS_RECEIVED',
97
                        'route' => 'company/invitations-received'
98
                    ]
99
                ]
100
            ],
1044 efrain 101
 
1 www 102
            [
103
                'label' => 'LABEL_GROUPS',
104
                'route' => 'group',
1412 efrain 105
                'class' => '/images/navbar/grupos.svg',
1 www 106
                'pages' => [
107
                    [
108
                        'label' => 'LABEL_MY_GROUPS',
109
                        'route' => 'group/my-groups'
110
                    ],
111
                    [
112
                        'label' => 'LABEL_JOINED_GROUPS',
113
                        'route' => 'group/joined-groups'
114
                    ],
115
                    [
116
                        'label' => 'LABEL_REQUESTS_SENT',
117
                        'route' => 'group/requests-sent'
118
                    ],
119
                    [
120
                        'label' => 'LABEL_INVITATIONS_RECEIVED',
121
                        'route' => 'group/invitations-received'
122
                    ]
123
                ]
124
            ],
1044 efrain 125
            [
1183 efrain 126
                'label' => 'LABEL_MARKETPLACE',
1044 efrain 127
                'route' => 'marketplace',
1412 efrain 128
                'class' => '/images/navbar/market-place.svg',
1044 efrain 129
            ],
1412 efrain 130
 
131
 
132
 
133
 
134
 
135
 
136
 
1044 efrain 137
 
553 geraldo 138
        /* [
139
          'label' => 'LABEL_MESSAGES',
140
          'route' => 'inmail',
141
          'class' => 'fa fa-envelope',
142
          ],
143
          [
144
          'label' => 'LABEL_NOTIFICATIONS',
145
          'route' => 'dashboard',
146
          'class' => 'fa fa-bolt',
147
          ], */
1 www 148
        ],
149
        'footer' => [
150
            [
151
                'label' => 'LABEL_PRIVACY_POLICY',
152
                'route' => 'privacy-policy'
153
            ],
154
            [
155
                'label' => 'LABEL_PROFESSIONALISM_POLICY',
156
                'route' => 'professionalism-policy'
157
            ],
158
            [
159
                'label' => 'LABEL_COOKIES_POLICY',
160
                'route' => 'cookies'
161
            ],
162
            [
163
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
164
                'route' => 'terms-and-conditions'
165
            ],
166
        ]
167
    ],
168
    'router' => [
169
        'routes' => [
170
            'signin' => [
171
                'type' => Literal::class,
172
                'options' => [
173
                    'route' => '/signin',
174
                    'defaults' => [
175
                        'controller' => '\LeadersLinked\Controller\AuthController',
176
                        'action' => 'signin'
177
                    ]
178
                ],
179
                'may_terminate' => true,
180
                'child_routes' => [
3298 efrain 181
 
3639 efrain 182
 
1 www 183
                    'facebook' => [
184
                        'type' => Literal::class,
185
                        'options' => [
186
                            'route' => '/facebook',
187
                            'defaults' => [
188
                                'controller' => '\LeadersLinked\Controller\AuthController',
189
                                'action' => 'facebook',
190
                            ],
191
                        ],
192
                    ],
193
                    'twitter' => [
194
                        'type' => Literal::class,
195
                        'options' => [
196
                            'route' => '/twitter',
197
                            'defaults' => [
198
                                'controller' => '\LeadersLinked\Controller\AuthController',
199
                                'action' => 'twitter',
200
                            ],
201
                        ],
202
                    ],
203
                    'google' => [
204
                        'type' => Literal::class,
205
                        'options' => [
206
                            'route' => '/google',
207
                            'defaults' => [
208
                                'controller' => '\LeadersLinked\Controller\AuthController',
209
                                'action' => 'google',
210
                            ],
211
                        ],
212
                    ],
3639 efrain 213
                    'impersonate' => [
214
                        'type' => Literal::class,
215
                        'options' => [
216
                            'route' => '/impersonate',
217
                            'defaults' => [
218
                                'controller' => '\LeadersLinked\Controller\AuthController',
219
                                'action' => 'impersonate',
220
                            ],
221
                        ],
222
                    ],
1 www 223
                ]
224
            ],
225
            'reset-password' => [
226
                'type' => Segment::class,
227
                'options' => [
228
                    'route' => '/reset-password/:code',
229
                    'constraints' => [
230
                        'code' => '[a-zA-Z0-9--]+'
231
                    ],
232
                    'defaults' => [
233
                        'controller' => '\LeadersLinked\Controller\AuthController',
234
                        'action' => 'resetPassword'
235
                    ]
236
                ]
237
            ],
238
            'forgot-password' => [
239
                'type' => Literal::class,
240
                'options' => [
241
                    'route' => '/forgot-password',
242
                    'defaults' => [
243
                        'controller' => '\LeadersLinked\Controller\AuthController',
244
                        'action' => 'forgotPassword'
245
                    ]
246
                ]
247
            ],
248
            'signup' => [
249
                'type' => Literal::class,
250
                'options' => [
251
                    'route' => '/signup',
252
                    'defaults' => [
253
                        'controller' => '\LeadersLinked\Controller\AuthController',
254
                        'action' => 'signup'
255
                    ]
256
                ]
257
            ],
258
            'activate-account' => [
259
                'type' => Segment::class,
260
                'options' => [
261
                    'route' => '/activate-account/:code',
262
                    'constraints' => [
263
                        'code' => '[a-zA-Z0-9]+'
264
                    ],
265
                    'defaults' => [
266
                        'controller' => '\LeadersLinked\Controller\AuthController',
267
                        'action' => 'activateAccount'
268
                    ]
269
                ]
270
            ],
271
            'signout' => [
272
                'type' => Literal::class,
273
                'options' => [
274
                    'route' => '/signout',
275
                    'defaults' => [
276
                        'controller' => '\LeadersLinked\Controller\AuthController',
277
                        'action' => 'signout'
278
                    ]
279
                ]
280
            ],
210 efrain 281
            'csrf' => [
282
                'type' => Literal::class,
283
                'options' => [
284
                    'route' => '/csrf',
285
                    'defaults' => [
286
                        'controller' => '\LeadersLinked\Controller\AuthController',
287
                        'action' => 'csrf'
288
                    ]
289
                ]
290
            ],
2444 efrain 291
 
1 www 292
            'onroom' => [
293
                'type' => Literal::class,
294
                'options' => [
295
                    'route' => '/onroom',
296
                    'defaults' => [
297
                        'controller' => '\LeadersLinked\Controller\AuthController',
298
                        'action' => 'onroom'
299
                    ]
300
                ]
301
            ],
302
            'home' => [
303
                'type' => Literal::class,
304
                'options' => [
305
                    'route' => '/',
306
                    'defaults' => [
307
                        'controller' => '\LeadersLinked\Controller\HomeController',
308
                        'action' => 'index'
309
                    ]
310
                ]
311
            ],
3298 efrain 312
            'share' => [
313
                'type' => Segment::class,
314
                'options' => [
3379 efrain 315
                    'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
3298 efrain 316
                    'constraints' => [
317
                        'type' => 'feed|post',
318
                        'code' => '[A-Za-z0-9\-]+\=*',
3379 efrain 319
                        'user' => '[A-Za-z0-9\-]+\=*',
320
                        'timestamp' => '[0-9]*',
321
                        'rand' => '[0-9]*',
322
                        'password' => '[A-Za-z0-9]*',
3298 efrain 323
                    ],
324
                    'defaults' => [
325
                        'controller' => '\LeadersLinked\Controller\HomeController',
326
                        'action' => 'share',
327
                    ],
328
                ],
329
            ],
1 www 330
            'post' => [
331
                'type' => Segment::class,
332
                'options' => [
333
                    'route' => '/post/:id',
334
                    'constraints' => [
335
                        'id' => '[A-Za-z0-9\-]+\=*',
336
                    ],
337
                    'defaults' => [
338
                        'controller' => '\LeadersLinked\Controller\HomeController',
339
                        'action' => 'post'
340
                    ]
341
                ]
342
            ],
343
            'privacy-policy' => [
344
                'type' => Literal::class,
345
                'options' => [
346
                    'route' => '/privacy-policy',
347
                    'defaults' => [
348
                        'controller' => '\LeadersLinked\Controller\HomeController',
349
                        'action' => 'privacyPolicy'
350
                    ]
351
                ]
352
            ],
353
            'cookies' => [
354
                'type' => Literal::class,
355
                'options' => [
356
                    'route' => '/cookies',
357
                    'defaults' => [
358
                        'controller' => '\LeadersLinked\Controller\HomeController',
359
                        'action' => 'cookies'
360
                    ]
361
                ]
362
            ],
363
            'professionalism-policy' => [
364
                'type' => Literal::class,
365
                'options' => [
366
                    'route' => '/professionalism-policy',
367
                    'defaults' => [
368
                        'controller' => '\LeadersLinked\Controller\HomeController',
369
                        'action' => 'professionalismPolicy'
370
                    ]
371
                ]
372
            ],
373
            'terms-and-conditions' => [
374
                'type' => Literal::class,
375
                'options' => [
376
                    'route' => '/terms-and-conditions',
377
                    'defaults' => [
378
                        'controller' => '\LeadersLinked\Controller\HomeController',
379
                        'action' => 'termsAndConditions'
380
                    ]
381
                ]
382
            ],
383
            'check-session' => [
384
                'type' => Literal::class,
385
                'options' => [
386
                    'route' => '/check-session',
387
                    'defaults' => [
388
                        'controller' => '\LeadersLinked\Controller\HomeController',
389
                        'action' => 'checkSession'
390
                    ]
391
                ]
392
            ],
393
            'notifications' => [
394
                'type' => Literal::class,
395
                'options' => [
396
                    'route' => '/notifications',
397
                    'defaults' => [
3262 efrain 398
                        'controller' => '\LeadersLinked\Controller\NotificationController',
399
                        'action' => 'index'
1 www 400
                    ]
3262 efrain 401
                ],
402
                'may_terminate' => true,
403
                'child_routes' => [
404
                    'mark-read' => [
405
                        'type' => Segment::class,
406
                        'options' => [
407
                            'route' => '/mark-read/:id',
408
                            'constraints' => [
409
                                'id' => '[A-Za-z0-9\-]+\=*',
410
                            ],
411
                            'defaults' => [
412
                                'controller' => '\LeadersLinked\Controller\NotificationController',
413
                                'action' => 'markRead'
414
                            ]
415
                        ]
416
                    ],
417
                    'mark-all-read' => [
418
                        'type' => Literal::class,
419
                        'options' => [
420
                            'route' => '/mark-all-read',
421
                            'defaults' => [
422
                                'controller' => '\LeadersLinked\Controller\NotificationController',
423
                                'action' => 'markAllRead'
424
                            ]
425
                        ]
426
                    ],
427
                    'delete' => [
428
                        'type' => Segment::class,
429
                        'options' => [
430
                            'route' => '/delete/:id',
431
                            'constraints' => [
432
                                'id' => '[A-Za-z0-9\-]+\=*',
433
                            ],
434
                            'defaults' => [
435
                                'controller' => '\LeadersLinked\Controller\NotificationController',
436
                                'action' => 'delete'
437
                            ]
438
                        ]
439
                    ],
440
                    'clear' => [
441
                        'type' => Literal::class,
442
                        'options' => [
443
                            'route' => '/clear',
444
                            'defaults' => [
445
                                'controller' => '\LeadersLinked\Controller\NotificationController',
446
                                'action' => 'clear'
447
                            ]
448
                        ]
449
                    ],
450
                    'unreads' => [
451
                        'type' => Literal::class,
452
                        'options' => [
453
                            'route' => '/unreads',
454
                            'defaults' => [
455
                                'controller' => '\LeadersLinked\Controller\NotificationController',
456
                                'action' => 'unreads'
457
                            ]
458
                        ]
459
                    ],
460
                ]
1 www 461
            ],
3639 efrain 462
            'impersonate' => [
463
                'type' => Literal::class,
464
                'options' => [
465
                    'route' => '/impersonate',
466
                    'defaults' => [
467
                        'controller' => '\LeadersLinked\Controller\ImpersonateController',
468
                        'action' => 'index'
469
                    ]
470
                ],
471
                'may_terminate' => true,
472
                'child_routes' => [
473
                    'execute' => [
474
                        'type' => Segment::class,
475
                        'options' => [
476
                            'route' => '/execute/:id',
477
                            'constraints' => [
478
                                'id' => '[A-Za-z0-9\-]+\=*',
479
                            ],
480
                            'defaults' => [
481
                                'controller' => '\LeadersLinked\Controller\ImpersonateController',
482
                                'action' => 'execute'
483
                            ]
484
                        ]
485
                    ],
486
                ]
487
            ],
3262 efrain 488
 
1 www 489
            'backend' => [
490
                'type' => Literal::class,
491
                'options' => [
492
                    'route' => '/backend',
493
                    'defaults' => [
494
                        'controller' => '\LeadersLinked\Controller\BackendController',
495
                        'action' => 'index'
496
                    ]
497
                ],
498
                'may_terminate' => true,
499
                'child_routes' => [
500
                    'signin-admin' => [
501
                        'type' => Literal::class,
502
                        'options' => [
503
                            'route' => '/signin-admin',
504
                            'defaults' => [
505
                                'controller' => '\LeadersLinked\Controller\BackendController',
506
                                'action' => 'signinAdmin'
507
                            ],
508
                        ],
509
                    ],
510
                    'signin-company' => [
511
                        'type' => Segment::class,
512
                        'options' => [
513
                            'route' => '/signin-company/:id',
514
                            'constraints' => [
515
                                'id' => '[A-Za-z0-9\-]+\=*',
516
                            ],
517
                            'defaults' => [
518
                                'controller' => '\LeadersLinked\Controller\BackendController',
519
                                'action' => 'signinCompany'
520
                            ],
521
                        ],
522
                    ],
553 geraldo 523
                ]
1 www 524
            ],
525
            'dashboard' => [
526
                'type' => Segment::class,
527
                'options' => [
528
                    'route' => '/dashboard[/feed/:feed]',
529
                    'constraints' => [
530
                        'feed' => '[A-Za-z0-9\-]+\=*',
531
                    ],
532
                    'defaults' => [
533
                        'controller' => '\LeadersLinked\Controller\DashboardController',
534
                        'action' => 'index'
535
                    ]
536
                ]
537
            ],
60 efrain 538
            'dashboard2' => [
1 www 539
                'type' => Segment::class,
540
                'options' => [
60 efrain 541
                    'route' => '/dashboard2',
1 www 542
                    'defaults' => [
543
                        'controller' => '\LeadersLinked\Controller\DashboardController',
60 efrain 544
                        'action' => 'dashboard2'
1 www 545
                    ]
546
                ]
547
            ],
548
            'storage' => [
549
                'type' => Segment::class,
550
                'options' => [
551
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename][/]',
552
                    'constraints' => [
553
                        'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|message|microlearning-topic|microlearning-capsule|microlearning-slide',
554
                        'code' => '[A-Za-z0-9\-]+\=*',
555
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
556
                    ],
557
                    // MjM5ODk0Mzgg
558
                    'defaults' => [
559
                        'controller' => '\LeadersLinked\Controller\StorageController',
560
                        'action' => 'download'
561
                    ]
562
                ]
563
            ],
3639 efrain 564
            'storage-network' => [
565
                'type' => Segment::class,
566
                'options' => [
567
                    'route' => '/storage-network/type/:type[/]',
568
                    'constraints' => [
569
                        'type' => 'navbar|logo|favico',
570
                    ],
571
                    // MjM5ODk0Mzgg
572
                    'defaults' => [
573
                        'controller' => '\LeadersLinked\Controller\StorageNetworkController',
574
                        'action' => 'download'
575
                    ]
576
                ]
577
            ],
1 www 578
            'paypal' => [
579
                'type' => Literal::class,
580
                'options' => [
581
                    'route' => '/paypal',
582
                    'defaults' => [
583
                        'controller' => '\LeadersLinked\Controller\PaypalController',
584
                        'action' => 'index'
585
                    ]
586
                ],
587
                'may_terminate' => true,
588
                'child_routes' => [
589
                    'success' => [
590
                        'type' => Literal::class,
591
                        'options' => [
592
                            'route' => '/success',
593
                            'defaults' => [
594
                                'controller' => '\LeadersLinked\Controller\PaypalController',
595
                                'action' => 'success',
596
                            ],
597
                        ],
598
                    ],
599
                    'cancel' => [
600
                        'type' => Literal::class,
601
                        'options' => [
602
                            'route' => '/cancel',
603
                            'defaults' => [
604
                                'controller' => '\LeadersLinked\Controller\PaypalController',
605
                                'action' => 'cancel',
606
                            ],
607
                        ],
608
                    ],
609
                ]
553 geraldo 610
            ],
1 www 611
            'chat' => [
612
                'type' => Literal::class,
613
                'options' => [
614
                    'route' => '/chat',
615
                    'defaults' => [
616
                        'controller' => '\LeadersLinked\Controller\ChatController',
617
                        'action' => 'index'
618
                    ]
619
                ],
620
                'may_terminate' => true,
621
                'child_routes' => [
622
                    // Inicio de los Routes del Chat //
553 geraldo 623
 
1 www 624
                    'heart-beat' => [
625
                        'type' => Literal::class,
626
                        'options' => [
627
                            'route' => '/heart-beat',
628
                            'defaults' => [
629
                                'controller' => '\LeadersLinked\Controller\ChatController',
630
                                'action' => 'heartBeat',
631
                            ],
632
                        ],
633
                    ],
634
                    'create-group' => [
635
                        'type' => Literal::class,
636
                        'options' => [
637
                            'route' => '/create-group',
638
                            'defaults' => [
639
                                'controller' => '\LeadersLinked\Controller\ChatController',
640
                                'action' => 'createGroup',
641
                            ],
642
                        ],
643
                    ],
644
                    'add-user-to-group' => [
645
                        'type' => Segment::class,
646
                        'options' => [
647
                            'route' => '/add-user-to-group/:group_id',
648
                            'constraints' => [
649
                                'group_id' => '[A-Za-z0-9\-]+\=*',
650
                            ],
651
                            'defaults' => [
652
                                'controller' => '\LeadersLinked\Controller\ChatController',
653
                                'action' => 'addUserToGroup',
654
                            ],
655
                        ],
656
                    ],
657
                    'mark-seen' => [
658
                        'type' => Segment::class,
659
                        'options' => [
660
                            'route' => '/mark-seen/:id',
661
                            'constraints' => [
662
                                'id' => '[A-Za-z0-9\-]+\=*',
663
                            ],
664
                            'defaults' => [
665
                                'controller' => '\LeadersLinked\Controller\ChatController',
666
                                'action' => 'markSeen',
667
                            ],
668
                        ],
669
                    ],
670
                    'mark-received' => [
671
                        'type' => Segment::class,
672
                        'options' => [
673
                            'route' => '/mark-received/:id',
674
                            'constraints' => [
675
                                'id' => '[A-Za-z0-9\-]+\=*',
676
                            ],
677
                            'defaults' => [
678
                                'controller' => '\LeadersLinked\Controller\ChatController',
679
                                'action' => 'markReceived',
680
                            ],
681
                        ],
682
                    ],
683
                    'remove-user-from-group' => [
684
                        'type' => Segment::class,
685
                        'options' => [
686
                            'route' => '/remove-user-from-group/:group_id/:user_id',
687
                            'constraints' => [
688
                                'group_id' => '[A-Za-z0-9\-]+\=*',
689
                                'user_id' => '[A-Za-z0-9\-]+\=*',
690
                            ],
691
                            'defaults' => [
692
                                'controller' => '\LeadersLinked\Controller\ChatController',
693
                                'action' => 'removeUserFromGroup',
694
                            ],
695
                        ],
696
                    ],
697
                    'get-all-messages' => [
553 geraldo 698
                        'type' => Segment::class,
1 www 699
                        'options' => [
700
                            'route' => '/get-all-messages/:id',
701
                            'constraints' => [
702
                                'id' => '[A-Za-z0-9\-]+\=*',
703
                            ],
704
                            'defaults' => [
705
                                'controller' => '\LeadersLinked\Controller\ChatController',
706
                                'action' => 'getAllMessages',
707
                            ],
708
                        ],
709
                    ],
710
                    'send' => [
553 geraldo 711
                        'type' => Segment::class,
1 www 712
                        'options' => [
713
                            'route' => '/send/:id',
714
                            'constraints' => [
715
                                'id' => '[A-Za-z0-9\-]+\=*',
716
                            ],
717
                            'defaults' => [
718
                                'controller' => '\LeadersLinked\Controller\ChatController',
719
                                'action' => 'send',
720
                            ],
721
                        ],
722
                    ],
723
                    'get-contacts-availables-for-group' => [
724
                        'type' => Segment::class,
725
                        'options' => [
726
                            'route' => '/get-contacts-availables-for-group/:group_id',
727
                            'constraints' => [
728
                                'group_id' => '[A-Za-z0-9\-]+\=*',
729
                            ],
730
                            'defaults' => [
731
                                'controller' => '\LeadersLinked\Controller\ChatController',
732
                                'action' => 'contactAvailableGroupList',
733
                            ],
734
                        ],
735
                    ],
736
                    'get-contact-group-list' => [
737
                        'type' => Segment::class,
738
                        'options' => [
739
                            'route' => '/get-contact-group-list/:group_id',
740
                            'constraints' => [
741
                                'group_id' => '[A-Za-z0-9\-]+\=*',
742
                            ],
743
                            'defaults' => [
744
                                'controller' => '\LeadersLinked\Controller\ChatController',
745
                                'action' => 'contactGroupList',
746
                            ],
747
                        ],
748
                    ],
749
                    'leave-group' => [
750
                        'type' => Segment::class,
751
                        'options' => [
752
                            'route' => '/leave-group/:group_id',
753
                            'constraints' => [
754
                                'group_id' => '[A-Za-z0-9\-]+\=*',
755
                            ],
756
                            'defaults' => [
757
                                'controller' => '\LeadersLinked\Controller\ChatController',
758
                                'action' => 'leaveGroup',
759
                            ],
760
                        ],
761
                    ],
762
                    'delete-group' => [
763
                        'type' => Segment::class,
764
                        'options' => [
765
                            'route' => '/delete-group/:group_id',
766
                            'constraints' => [
767
                                'group_id' => '[A-Za-z0-9\-]+\=*',
768
                            ],
769
                            'defaults' => [
770
                                'controller' => '\LeadersLinked\Controller\ChatController',
771
                                'action' => 'deleteGroup',
772
                            ],
773
                        ],
774
                    ],
3121 efrain 775
                    'open' => [
776
                        'type' => Segment::class,
777
                        'options' => [
778
                            'route' => '/open/:id',
779
                            'constraints' => [
780
                                'id' => '[A-Za-z0-9\-]+\=*',
781
                            ],
782
                            'defaults' => [
783
                                'controller' => '\LeadersLinked\Controller\ChatController',
784
                                'action' => 'open',
785
                            ],
786
                        ],
787
                    ],
1 www 788
                    'close' => [
789
                        'type' => Segment::class,
790
                        'options' => [
791
                            'route' => '/close/:id',
792
                            'constraints' => [
793
                                'id' => '[A-Za-z0-9\-]+\=*',
794
                            ],
795
                            'defaults' => [
796
                                'controller' => '\LeadersLinked\Controller\ChatController',
797
                                'action' => 'close',
798
                            ],
799
                        ],
800
                    ],
801
                    'clear' => [
802
                        'type' => Segment::class,
803
                        'options' => [
804
                            'route' => '/clear/:id',
805
                            'constraints' => [
806
                                'id' => '[A-Za-z0-9\-]+\=*',
807
                            ],
808
                            'defaults' => [
809
                                'controller' => '\LeadersLinked\Controller\ChatController',
810
                                'action' => 'clear',
811
                            ],
812
                        ],
813
                    ],
814
                    'upload' => [
815
                        'type' => Segment::class,
816
                        'options' => [
817
                            'route' => '/upload/:id',
818
                            'constraints' => [
819
                                'id' => '[A-Za-z0-9\-]+\=*',
820
                            ],
821
                            'defaults' => [
822
                                'controller' => '\LeadersLinked\Controller\ChatController',
823
                                'action' => 'upload',
824
                            ],
825
                        ],
826
                    ],
827
                ],
553 geraldo 828
            ],
1 www 829
            'inmail' => [
830
                'type' => Segment::class,
831
                'options' => [
832
                    'route' => '/inmail[/:id]',
833
                    'constraints' => [
834
                        'id' => '[A-Za-z0-9\-]+\=*',
835
                    ],
836
                    'defaults' => [
837
                        'controller' => '\LeadersLinked\Controller\InMailController',
838
                        'action' => 'index'
839
                    ]
840
                ],
841
                'may_terminate' => true,
842
                'child_routes' => [
843
                    'block' => [
844
                        'type' => Literal::class,
553 geraldo 845
                        'options' => [
1 www 846
                            'route' => '/block',
847
                            'defaults' => [
848
                                'controller' => '\LeadersLinked\Controller\InMailController',
849
                                'action' => 'blockConversation'
850
                            ]
553 geraldo 851
                        ]
852
                    ],
853
                    'delete' => [
854
                        'type' => Literal::class,
855
                        'options' => [
856
                            'route' => '/delete',
857
                            'defaults' => [
858
                                'controller' => '\LeadersLinked\Controller\InMailController',
859
                                'action' => 'deleteConversation'
1 www 860
                            ]
553 geraldo 861
                        ]
862
                    ],
863
                    'message' => [
864
                        'type' => Literal::class,
865
                        'options' => [
866
                            'route' => '/message',
867
                            'defaults' => [
868
                                'controller' => '\LeadersLinked\Controller\InMailController',
869
                                'action' => 'message'
870
                            ]
1 www 871
                        ],
553 geraldo 872
                        'may_terminate' => true,
873
                        'child_routes' => [
874
                            'send' => [
875
                                'type' => Segment::class,
876
                                'options' => [
877
                                    'route' => '/send[/encoding/:encoding]',
878
                                    'constraints' => [
879
                                        'encoding' => 'base64'
880
                                    ],
881
                                    'defaults' => [
882
                                        'controller' => '\LeadersLinked\Controller\InMailController',
883
                                        'action' => 'sendMessage'
884
                                    ]
1 www 885
                                ]
886
                            ],
553 geraldo 887
                            'delete' => [
888
                                'type' => Segment::class,
889
                                'options' => [
890
                                    'route' => '/delete/:message',
891
                                    'constraints' => [
892
                                        'message' => '[A-Za-z0-9\-]+\=*',
893
                                    ],
894
                                    'defaults' => [
895
                                        'controller' => '\LeadersLinked\Controller\InMailController',
896
                                        'action' => 'delete'
1 www 897
                                    ]
553 geraldo 898
                                ]
899
                            ],
900
                        ],
1 www 901
                    ],
553 geraldo 902
                ],
903
            ],
1 www 904
            'connection' => [
905
                'type' => Literal::class,
906
                'options' => [
907
                    'route' => '/connection',
908
                    'defaults' => [
909
                        'controller' => '\LeadersLinked\Controller\ConnectionController',
910
                        'action' => 'index'
911
                    ]
912
                ],
913
                'may_terminate' => true,
914
                'child_routes' => [
915
                    'my-connections' => [
916
                        'type' => Literal::class,
917
                        'options' => [
918
                            'route' => '/my-connections',
919
                            'defaults' => [
920
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
921
                                'action' => 'myConnections'
922
                            ]
923
                        ]
924
                    ],
925
                    'people-you-may-know' => [
926
                        'type' => Literal::class,
927
                        'options' => [
928
                            'route' => '/people-you-may-know',
929
                            'defaults' => [
930
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
931
                                'action' => 'peopleYouMayKnow'
932
                            ]
933
                        ]
934
                    ],
935
                    'people-blocked' => [
936
                        'type' => Literal::class,
937
                        'options' => [
938
                            'route' => '/people-blocked',
939
                            'defaults' => [
940
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
941
                                'action' => 'peopleBlocked'
942
                            ]
943
                        ],
944
                    ],
945
                    'invitations-sent' => [
946
                        'type' => Literal::class,
947
                        'options' => [
948
                            'route' => '/invitations-sent',
949
                            'defaults' => [
950
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
951
                                'action' => 'invitationsSent'
952
                            ]
953
                        ]
954
                    ],
955
                    'invitations-received' => [
956
                        'type' => Literal::class,
957
                        'options' => [
958
                            'route' => '/invitations-received',
959
                            'defaults' => [
960
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
961
                                'action' => 'invitationsReceived'
962
                            ]
963
                        ]
964
                    ],
965
                    'block' => [
966
                        'type' => Segment::class,
967
                        'options' => [
968
                            'route' => '/block/:id',
969
                            'constraints' => [
970
                                'id' => '[A-Za-z0-9\-]+\=*',
971
                            ],
972
                            'defaults' => [
973
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
974
                                'action' => 'block'
975
                            ]
976
                        ]
977
                    ],
978
                    'unblock' => [
979
                        'type' => Segment::class,
980
                        'options' => [
981
                            'route' => '/unblock/:id',
982
                            'constraints' => [
983
                                'id' => '[A-Za-z0-9\-]+\=*',
984
                            ],
985
                            'defaults' => [
986
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
987
                                'action' => 'unblock'
988
                            ]
989
                        ]
990
                    ],
991
                    'cancel' => [
992
                        'type' => Segment::class,
993
                        'options' => [
994
                            'route' => '/cancel/:id',
995
                            'constraints' => [
996
                                'id' => '[A-Za-z0-9\-]+\=*',
997
                            ],
998
                            'defaults' => [
999
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1000
                                'action' => 'cancel'
1001
                            ]
1002
                        ]
1003
                    ],
1004
                    'request' => [
1005
                        'type' => Segment::class,
1006
                        'options' => [
1007
                            'route' => '/request/:id',
1008
                            'constraints' => [
1009
                                'id' => '[A-Za-z0-9\-]+\=*',
1010
                            ],
1011
                            'defaults' => [
1012
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1013
                                'action' => 'request'
1014
                            ]
1015
                        ]
1016
                    ],
1017
                    'approve' => [
1018
                        'type' => Segment::class,
1019
                        'options' => [
1020
                            'route' => '/approve/:id',
1021
                            'constraints' => [
1022
                                'id' => '[A-Za-z0-9\-]+\=*',
1023
                            ],
1024
                            'defaults' => [
1025
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1026
                                'action' => 'approve'
1027
                            ]
1028
                        ]
1029
                    ],
1030
                    'reject' => [
1031
                        'type' => Segment::class,
1032
                        'options' => [
1033
                            'route' => '/reject/:id',
1034
                            'constraints' => [
1035
                                'id' => '[A-Za-z0-9\-]+\=*',
1036
                            ],
1037
                            'defaults' => [
1038
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1039
                                'action' => 'reject'
1040
                            ]
1041
                        ]
1042
                    ],
1043
                    'delete' => [
1044
                        'type' => Segment::class,
1045
                        'options' => [
1046
                            'route' => '/delete/:id',
1047
                            'constraints' => [
1048
                                'id' => '[A-Za-z0-9\-]+\=*',
1049
                            ],
1050
                            'defaults' => [
1051
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1052
                                'action' => 'delete'
1053
                            ]
1054
                        ]
1055
                    ],
1056
                ]
553 geraldo 1057
            ],
1 www 1058
            'feed' => [
1059
                'type' => Literal::class,
1060
                'options' => [
1061
                    'route' => '/feed',
1062
                    'defaults' => [
1063
                        'controller' => '\LeadersLinked\Controller\FeedController',
1064
                        'action' => 'index'
1065
                    ]
1066
                ],
1067
                'may_terminate' => true,
1068
                'child_routes' => [
1069
                    'timeline' => [
1070
                        'type' => Segment::class,
1071
                        'options' => [
1072
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1073
                            'constraints' => [
1074
                                'id' => '[A-Za-z0-9\-]+\=*',
1075
                                'type' => 'user|company|group',
1076
                            ],
1077
                            'defaults' => [
1078
                                'controller' => '\LeadersLinked\Controller\FeedController',
1079
                                'action' => 'timeline'
1080
                            ]
1081
                        ]
1082
                    ],
1083
                    'delete' => [
1084
                        'type' => Segment::class,
1085
                        'options' => [
1086
                            'route' => '/delete/:id',
1087
                            'constraints' => [
1088
                                'id' => '[A-Za-z0-9\-]+\=*',
1089
                            ],
1090
                            'defaults' => [
1091
                                'controller' => '\LeadersLinked\Controller\FeedController',
1092
                                'action' => 'delete'
1093
                            ],
1094
                        ]
1095
                    ],
1096
                    'comment' => [
1097
                        'type' => Segment::class,
1098
                        'options' => [
1099
                            'route' => '/comment/:id',
1100
                            'constraints' => [
1101
                                'id' => '[A-Za-z0-9\-]+\=*',
1102
                            ],
1103
                            'defaults' => [
1104
                                'controller' => '\LeadersLinked\Controller\FeedController',
1105
                                'action' => 'comment'
1106
                            ],
1107
                        ],
1108
                        'may_terminate' => true,
1109
                        'child_routes' => [
1110
                            'delete' => [
1111
                                'type' => Segment::class,
1112
                                'options' => [
1113
                                    'route' => '/delete/:comment',
1114
                                    'constraints' => [
1115
                                        'comment' => '[A-Za-z0-9\-]+\=*',
1116
                                    ],
1117
                                    'defaults' => [
1118
                                        'controller' => '\LeadersLinked\Controller\FeedController',
1119
                                        'action' => 'commentDelete'
1120
                                    ]
1121
                                ]
1122
                            ],
1123
                        ]
1124
                    ],
1125
                    'share' => [
1126
                        'type' => Segment::class,
1127
                        'options' => [
1128
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
1129
                            'constraints' => [
1130
                                'id' => '[A-Za-z0-9\-]+\=*',
1131
                                'company_id' => '[A-Za-z0-9\-]+\=*',
1132
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1133
                                'encoding' => 'base64'
1134
                            ],
1135
                            'defaults' => [
1136
                                'controller' => '\LeadersLinked\Controller\FeedController',
1137
                                'action' => 'share'
1138
                            ]
1139
                        ]
1140
                    ],
1141
                    'like' => [
1142
                        'type' => Segment::class,
1143
                        'options' => [
1144
                            'route' => '/like/:id',
1145
                            'constraints' => [
1146
                                'id' => '[A-Za-z0-9\-]+\=*',
1147
                            ],
1148
                            'defaults' => [
1149
                                'controller' => '\LeadersLinked\Controller\FeedController',
1150
                                'action' => 'like'
1151
                            ]
1152
                        ]
1153
                    ],
1154
                    'unlike' => [
1155
                        'type' => Segment::class,
1156
                        'options' => [
1157
                            'route' => '/unlike/:id',
1158
                            'constraints' => [
1159
                                'id' => '[A-Za-z0-9\-]+\=*',
1160
                            ],
1161
                            'defaults' => [
1162
                                'controller' => '\LeadersLinked\Controller\FeedController',
1163
                                'action' => 'unlike'
1164
                            ]
1165
                        ]
1166
                    ],
1167
                    'add' => [
1168
                        'type' => Segment::class,
1169
                        'options' => [
2455 efrain 1170
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
1 www 1171
                            'constraints' => [
2455 efrain 1172
                                'company_id' => '[A-Za-z0-9\-]+\=*',
1173
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1 www 1174
                                'encoding' => 'base64'
1175
                            ],
1176
                            'defaults' => [
1177
                                'controller' => '\LeadersLinked\Controller\FeedController',
1178
                                'action' => 'add'
1179
                            ]
1180
                        ]
1181
                    ],
1182
                ],
553 geraldo 1183
            ],
1 www 1184
            'job' => [
1185
                'type' => Literal::class,
1186
                'options' => [
1187
                    'route' => '/job',
1188
                    'defaults' => [
1189
                        'controller' => '\LeadersLinked\Controller\JobController',
1190
                        'action' => 'index'
1191
                    ]
1192
                ],
1193
                'may_terminate' => true,
1194
                'child_routes' => [
1195
                    'view' => [
1196
                        'type' => Segment::class,
1197
                        'options' => [
1198
                            'route' => '/view/:id',
1199
                            'constraints' => [
1200
                                'id' => '[A-Za-z0-9\-]+\=*'
1201
                            ],
1202
                            'defaults' => [
1203
                                'controller' => '\LeadersLinked\Controller\JobController',
1204
                                'action' => 'view'
1205
                            ]
1206
                        ]
1207
                    ],
1208
                    'apply-job' => [
1209
                        'type' => Segment::class,
1210
                        'options' => [
1211
                            'route' => '/apply-job/:id',
1212
                            'constraints' => [
1213
                                'id' => '[A-Za-z0-9\-]+\=*'
1214
                            ],
1215
                            'defaults' => [
1216
                                'controller' => '\LeadersLinked\Controller\JobController',
1217
                                'action' => 'applyJob'
1218
                            ]
1219
                        ]
1220
                    ],
1221
                    'remove-apply-job' => [
1222
                        'type' => Segment::class,
1223
                        'options' => [
1224
                            'route' => '/remove-apply-job/:id',
1225
                            'constraints' => [
1226
                                'id' => '[A-Za-z0-9\-]+\=*'
1227
                            ],
1228
                            'defaults' => [
1229
                                'controller' => '\LeadersLinked\Controller\JobController',
1230
                                'action' => 'removeApplyJob'
1231
                            ]
1232
                        ]
1233
                    ],
1234
                    'save-job' => [
1235
                        'type' => Segment::class,
1236
                        'options' => [
1237
                            'route' => '/save-job/:id',
1238
                            'constraints' => [
1239
                                'id' => '[A-Za-z0-9\-]+\=*'
1240
                            ],
1241
                            'defaults' => [
1242
                                'controller' => '\LeadersLinked\Controller\JobController',
1243
                                'action' => 'saveJob'
1244
                            ]
1245
                        ]
1246
                    ],
1247
                    'remove-save-job' => [
1248
                        'type' => Segment::class,
1249
                        'options' => [
1250
                            'route' => '/remove-save-job/:id',
1251
                            'constraints' => [
1252
                                'id' => '[A-Za-z0-9\-]+\=*'
1253
                            ],
1254
                            'defaults' => [
1255
                                'controller' => '\LeadersLinked\Controller\JobController',
1256
                                'action' => 'removeSaveJob'
1257
                            ]
1258
                        ]
1259
                    ],
1260
                    'applied-jobs' => [
1261
                        'type' => Literal::class,
1262
                        'options' => [
1263
                            'route' => '/applied-jobs',
1264
                            'defaults' => [
1265
                                'controller' => '\LeadersLinked\Controller\JobController',
1266
                                'action' => 'appliedJobs'
1267
                            ]
1268
                        ]
1269
                    ],
1270
                    'saved-jobs' => [
1271
                        'type' => Literal::class,
1272
                        'options' => [
1273
                            'route' => '/saved-jobs',
1274
                            'defaults' => [
1275
                                'controller' => '\LeadersLinked\Controller\JobController',
1276
                                'action' => 'savedJobs'
1277
                            ]
1278
                        ]
1279
                    ],
553 geraldo 1280
                ]
1 www 1281
            ],
1282
            /*
553 geraldo 1283
              'job' => [
1284
              'type' => Literal::class,
1285
              'options' => [
1286
              'route' => '/job',
1287
              'defaults' => [
1288
              'controller' => '\LeadersLinked\Controller\JobController',
1289
              'action' => 'index'
1290
              ]
1291
              ],
1292
              'may_terminate' => true,
1293
              'child_routes' => [
1294
              'view' => [
1295
              'type' => Segment::class,
1296
              'options' => [
1297
              'route' => '/view/:id',
1298
              'constraints' => [
1299
              'id' => '[A-Za-z0-9\-]+\=*'
1300
              ],
1301
              'defaults' => [
1302
              'controller' => '\LeadersLinked\Controller\CompanyController',
1303
              'action' => 'job'
1304
              ]
1305
              ]
1306
              ],
1307
              ]
1308
              ],
1 www 1309
             */
1310
            'search' => [
1311
                'type' => Segment::class,
1312
                'options' => [
1313
                    'route' => '/search[/entity/:entity]',
1314
                    'constraints' => [
1315
                        'entity' => 'user|company|group|job'
1316
                    ],
1317
                    'defaults' => [
1318
                        'controller' => '\LeadersLinked\Controller\SearchController',
1319
                        'action' => 'index'
1320
                    ]
1321
                ],
1322
            ],
1323
            'group' => [
1324
                'type' => Literal::class,
1325
                'options' => [
1326
                    'route' => '/group',
1327
                    'defaults' => [
1328
                        'controller' => '\LeadersLinked\GroupController',
1329
                        'action' => 'index'
1330
                    ]
1331
                ],
1332
                'may_terminate' => true,
1333
                'child_routes' => [
1334
                    'view' => [
1335
                        'type' => Segment::class,
1336
                        'options' => [
1337
                            'route' => '/view/:id',
1338
                            'constraints' => [
1339
                                'id' => '[A-Za-z0-9\-]+\=*'
1340
                            ],
1341
                            'defaults' => [
1342
                                'controller' => '\LeadersLinked\Controller\GroupController',
1343
                                'action' => 'view'
1344
                            ]
1345
                        ]
1346
                    ],
1347
                    'request' => [
1348
                        'type' => Segment::class,
1349
                        'options' => [
1350
                            'route' => '/request/:id',
1351
                            'constraints' => [
1352
                                'id' => '[A-Za-z0-9\-]+\=*'
1353
                            ],
1354
                            'defaults' => [
1355
                                'controller' => '\LeadersLinked\Controller\GroupController',
1356
                                'action' => 'request'
1357
                            ]
1358
                        ]
1359
                    ],
1360
                    'leave' => [
1361
                        'type' => Segment::class,
1362
                        'options' => [
1363
                            'route' => '/leave/:id',
1364
                            'constraints' => [
1365
                                'id' => '[A-Za-z0-9\-]+\=*'
1366
                            ],
1367
                            'defaults' => [
1368
                                'controller' => '\LeadersLinked\Controller\GroupController',
1369
                                'action' => 'leave'
1370
                            ]
1371
                        ]
1372
                    ],
1373
                    'accept' => [
1374
                        'type' => Segment::class,
1375
                        'options' => [
1376
                            'route' => '/accept/:id',
1377
                            'constraints' => [
1378
                                'id' => '[A-Za-z0-9\-]+\=*'
1379
                            ],
1380
                            'defaults' => [
1381
                                'controller' => '\LeadersLinked\Controller\GroupController',
1382
                                'action' => 'accept'
1383
                            ]
1384
                        ]
1385
                    ],
1386
                    'cancel' => [
1387
                        'type' => Segment::class,
1388
                        'options' => [
1389
                            'route' => '/cancel/:id',
1390
                            'constraints' => [
1391
                                'id' => '[A-Za-z0-9\-]+\=*'
1392
                            ],
1393
                            'defaults' => [
1394
                                'controller' => '\LeadersLinked\Controller\GroupController',
1395
                                'action' => 'cancel'
1396
                            ]
1397
                        ]
1398
                    ],
1399
                    'reject' => [
1400
                        'type' => Segment::class,
1401
                        'options' => [
1402
                            'route' => '/reject/:id',
1403
                            'constraints' => [
1404
                                'id' => '[A-Za-z0-9\-]+\=*'
1405
                            ],
1406
                            'defaults' => [
1407
                                'controller' => '\LeadersLinked\Controller\GroupController',
1408
                                'action' => 'reject'
1409
                            ]
1410
                        ]
1411
                    ],
1412
                    'joined-groups' => [
1413
                        'type' => Literal::class,
1414
                        'options' => [
1415
                            'route' => '/joined-groups',
1416
                            'defaults' => [
1417
                                'controller' => '\LeadersLinked\Controller\GroupController',
1418
                                'action' => 'joinedGroups'
1419
                            ]
1420
                        ],
1421
                    ],
1422
                    'requests-sent' => [
1423
                        'type' => Literal::class,
1424
                        'options' => [
1425
                            'route' => '/requests-sent',
1426
                            'defaults' => [
1427
                                'controller' => '\LeadersLinked\Controller\GroupController',
1428
                                'action' => 'requestsSent'
1429
                            ]
1430
                        ],
1431
                    ],
1432
                    'invitations-received' => [
1433
                        'type' => Literal::class,
1434
                        'options' => [
1435
                            'route' => '/invitations-received',
1436
                            'defaults' => [
1437
                                'controller' => '\LeadersLinked\Controller\GroupController',
1438
                                'action' => 'invitationsReceived'
1439
                            ]
1440
                        ],
1441
                    ],
1442
                    'my-groups' => [
1443
                        'type' => Literal::class,
1444
                        'options' => [
1445
                            'route' => '/my-groups',
1446
                            'defaults' => [
1447
                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1448
                                'action' => 'index'
1449
                            ]
1450
                        ],
1451
                        'may_terminate' => true,
1452
                        'child_routes' => [
1453
                            'add' => [
1454
                                'type' => Literal::class,
1455
                                'options' => [
1456
                                    'route' => '/add',
1457
                                    'defaults' => [
1458
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1459
                                        'action' => 'add'
1460
                                    ]
1461
                                ]
1462
                            ],
1463
                            'edit' => [
1464
                                'type' => Segment::class,
1465
                                'options' => [
1466
                                    'route' => '/edit/:id',
1467
                                    'constraints' => [
1468
                                        'id' => '[A-Za-z0-9\-]+\=*'
1469
                                    ],
1470
                                    'defaults' => [
1471
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1472
                                        'action' => 'edit'
1473
                                    ]
1474
                                ]
1475
                            ],
1476
                            'delete' => [
1477
                                'type' => Segment::class,
1478
                                'options' => [
1479
                                    'route' => '/delete/:id',
1480
                                    'constraints' => [
1481
                                        'id' => '[A-Za-z0-9\-]+\=*'
1482
                                    ],
1483
                                    'defaults' => [
1484
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1485
                                        'action' => 'delete'
1486
                                    ]
1487
                                ]
1488
                            ],
1489
                            'extended' => [
1490
                                'type' => Segment::class,
1491
                                'options' => [
1492
                                    'route' => '/extended/:id',
1493
                                    'constraints' => [
1494
                                        'id' => '[A-Za-z0-9\-]+\=*'
1495
                                    ],
1496
                                    'defaults' => [
1497
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1498
                                        'action' => 'extended'
1499
                                    ]
1500
                                ]
1501
                            ],
1502
                            'image' => [
1503
                                'type' => Segment::class,
1504
                                'options' => [
1505
                                    'route' => '/image/:id/operation/:operation',
1506
                                    'constraints' => [
1507
                                        'id' => '[A-Za-z0-9\-]+\=*',
1508
                                        'operation' => 'upload|delete'
1509
                                    ],
1510
                                    'defaults' => [
1511
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1512
                                        'action' => 'image'
1513
                                    ]
1514
                                ]
1515
                            ],
1516
                            'cover' => [
1517
                                'type' => Segment::class,
1518
                                'options' => [
1519
                                    'route' => '/cover/:id/operation/:operation',
1520
                                    'constraints' => [
1521
                                        'id' => '[A-Za-z0-9\-]+\=*',
1522
                                        'operation' => 'upload|delete'
1523
                                    ],
1524
                                    'defaults' => [
1525
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1526
                                        'action' => 'cover'
1527
                                    ]
1528
                                ]
1529
                            ],
1530
                            'privacy' => [
1531
                                'type' => Segment::class,
1532
                                'options' => [
1533
                                    'route' => '/privacy/:id',
1534
                                    'constraints' => [
1535
                                        'id' => '[A-Za-z0-9\-]+\=*'
1536
                                    ],
1537
                                    'defaults' => [
1538
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1539
                                        'action' => 'privacy'
1540
                                    ]
1541
                                ]
1542
                            ],
1543
                            'website' => [
1544
                                'type' => Segment::class,
1545
                                'options' => [
1546
                                    'route' => '/website/:id',
1547
                                    'constraints' => [
1548
                                        'id' => '[A-Za-z0-9\-]+\=*'
1549
                                    ],
1550
                                    'defaults' => [
1551
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1552
                                        'action' => 'website'
1553
                                    ]
1554
                                ]
1555
                            ],
1556
                            'industry' => [
1557
                                'type' => Segment::class,
1558
                                'options' => [
1559
                                    'route' => '/industry/:id',
1560
                                    'constraints' => [
1561
                                        'id' => '[A-Za-z0-9\-]+\=*'
1562
                                    ],
1563
                                    'defaults' => [
1564
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1565
                                        'action' => 'industry'
1566
                                    ]
1567
                                ]
1568
                            ],
1569
                            'accessibility' => [
1570
                                'type' => Segment::class,
1571
                                'options' => [
1572
                                    'route' => '/accessibility/:id',
1573
                                    'constraints' => [
1574
                                        'id' => '[A-Za-z0-9\-]+\=*'
1575
                                    ],
1576
                                    'defaults' => [
1577
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1578
                                        'action' => 'accessibility'
1579
                                    ]
1580
                                ]
1581
                            ],
1582
                            'type' => [
1583
                                'type' => Segment::class,
1584
                                'options' => [
1585
                                    'route' => '/type/:id',
1586
                                    'constraints' => [
1587
                                        'id' => '[A-Za-z0-9\-]+\=*'
1588
                                    ],
1589
                                    'defaults' => [
1590
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1591
                                        'action' => 'type'
1592
                                    ]
1593
                                ]
1594
                            ],
1595
                            'status' => [
1596
                                'type' => Segment::class,
1597
                                'options' => [
1598
                                    'route' => '/status/:id',
1599
                                    'constraints' => [
1600
                                        'id' => '[A-Za-z0-9\-]+\=*'
1601
                                    ],
1602
                                    'defaults' => [
1603
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1604
                                        'action' => 'status'
1605
                                    ]
1606
                                ]
1607
                            ],
1608
                            'members' => [
1609
                                'type' => Segment::class,
1610
                                'options' => [
1611
                                    'route' => '/members/:id',
1612
                                    'constraints' => [
1613
                                        'id' => '[A-Za-z0-9\-]+\=*'
1614
                                    ],
1615
                                    'defaults' => [
1616
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1617
                                        'action' => 'members'
1618
                                    ]
1619
                                ],
1620
                                'may_terminate' => true,
1621
                                'child_routes' => [
1622
                                    'invite' => [
1623
                                        'type' => Segment::class,
1624
                                        'options' => [
1625
                                            'route' => '/invite/:user_id',
1626
                                            'constraints' => [
1627
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1628
                                            ],
1629
                                            'defaults' => [
1630
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1631
                                                'action' => 'invite'
1632
                                            ]
1633
                                        ]
1634
                                    ],
1635
                                    'approve' => [
1636
                                        'type' => Segment::class,
1637
                                        'options' => [
1638
                                            'route' => '/approve/:user_id',
1639
                                            'constraints' => [
1640
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1641
                                            ],
1642
                                            'defaults' => [
1643
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1644
                                                'action' => 'approve'
1645
                                            ]
1646
                                        ]
1647
                                    ],
1648
                                    'reject' => [
1649
                                        'type' => Segment::class,
1650
                                        'options' => [
1651
                                            'route' => '/reject/:user_id',
1652
                                            'constraints' => [
1653
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1654
                                            ],
1655
                                            'defaults' => [
1656
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1657
                                                'action' => 'reject'
1658
                                            ]
1659
                                        ]
1660
                                    ],
1661
                                    'cancel' => [
1662
                                        'type' => Segment::class,
1663
                                        'options' => [
1664
                                            'route' => '/cancel/:user_id',
1665
                                            'constraints' => [
1666
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
1667
                                            ],
1668
                                            'defaults' => [
1669
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1670
                                                'action' => 'cancel'
1671
                                            ]
1672
                                        ]
1673
                                    ],
553 geraldo 1674
                                ]
1 www 1675
                            ],
1676
                        ]
1677
                    ]
1678
                ]
1679
            ],
1680
            'profile' => [
1681
                'type' => Literal::class,
1682
                'options' => [
1683
                    'route' => '/profile',
1684
                    'defaults' => [
1685
                        'controller' => '\LeadersLinked\ControllerProfileController',
1686
                        'action' => 'index'
1687
                    ]
1688
                ],
1689
                'may_terminate' => true,
1690
                'child_routes' => [
1691
                    'microlearning' => [
1692
                        'type' => Literal::class,
1693
                        'options' => [
1694
                            'route' => '/microlearning',
1695
                            'defaults' => [
1696
                                'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
1697
                                'action' => 'index'
1698
                            ]
1699
                        ],
1700
                        'may_terminate' => true,
1701
                        'child_routes' => [
1702
                            'timeline' => [
1703
                                'type' => Literal::class,
1704
                                'options' => [
1705
                                    'route' => '/timeline',
1706
                                    'defaults' => [
1707
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
1708
                                        'action' => 'timeline'
1709
                                    ]
1710
                                ]
1711
                            ],
1712
                            'progress' => [
1713
                                'type' => Literal::class,
1714
                                'options' => [
1715
                                    'route' => '/progress',
1716
                                    'defaults' => [
1717
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
1718
                                        'action' => 'progress'
1719
                                    ]
1720
                                ]
1721
                            ],
1722
                        ]
1723
                    ],
1724
                    'people-viewed-profile' => [
1725
                        'type' => Literal::class,
1726
                        'options' => [
1727
                            'route' => '/people-viewed-profile',
1728
                            'defaults' => [
1729
                                'controller' => '\LeadersLinked\Controller\ProfileController',
1730
                                'action' => 'peopleViewedProfile'
1731
                            ]
1732
                        ]
1733
                    ],
580 geraldo 1734
                    'view' => [
1735
                        'type' => Segment::class,
263 geraldo 1736
                        'options' => [
580 geraldo 1737
                            'route' => '/view/:id',
1738
                            'constraints' => [
1739
                                'id' => '[A-Za-z0-9\-]+\=*'
1740
                            ],
263 geraldo 1741
                            'defaults' => [
580 geraldo 1742
                                'controller' => '\LeadersLinked\Controller\ProfileController',
1743
                                'action' => 'view'
263 geraldo 1744
                            ]
1745
                        ]
1746
                    ],
580 geraldo 1747
                    'self-evaluation' => [
553 geraldo 1748
                        'type' => Literal::class,
1749
                        'options' => [
580 geraldo 1750
                            'route' => '/self-evaluation',
553 geraldo 1751
                            'defaults' => [
580 geraldo 1752
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 1753
                                'action' => 'index'
1754
                            ]
1755
                        ],
1756
                        'may_terminate' => true,
1757
                        'child_routes' => [
1758
                            'take-a-test' => [
580 geraldo 1759
                                'type' => Segment::class,
553 geraldo 1760
                                'options' => [
1761
                                    'route' => '/take-a-test/:id',
1762
                                    'constraints' => [
1763
                                        'id' => '[A-Za-z0-9\-]+\=*'
1764
                                    ],
1765
                                    'defaults' => [
578 geraldo 1766
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 1767
                                        'action' => 'takeaTest'
1768
                                    ]
1769
                                ]
1770
                            ],
1771
                            'report' => [
580 geraldo 1772
                                'type' => Segment::class,
553 geraldo 1773
                                'options' => [
1774
                                    'route' => '/report/:id',
1775
                                    'constraints' => [
1776
                                        'id' => '[A-Za-z0-9\-]+\=*'
1777
                                    ],
1778
                                    'defaults' => [
580 geraldo 1779
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 1780
                                        'action' => 'report'
1781
                                    ]
1782
                                ]
1783
                            ],
1784
                        ]
1785
                    ],
581 geraldo 1786
                    'performance-evaluation' => [
1787
                        'type' => Literal::class,
1788
                        'options' => [
1789
                            'route' => '/performance-evaluation',
1790
                            'defaults' => [
1791
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1792
                                'action' => 'index'
1793
                            ]
1794
                        ],
1795
                        'may_terminate' => true,
1796
                        'child_routes' => [
1797
                            'take-a-test' => [
1798
                                'type' => Segment::class,
1799
                                'options' => [
1800
                                    'route' => '/take-a-test/:id',
1801
                                    'constraints' => [
1802
                                        'id' => '[A-Za-z0-9\-]+\=*'
1803
                                    ],
1804
                                    'defaults' => [
1805
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1806
                                        'action' => 'takeaTest'
1807
                                    ]
1808
                                ]
1809
                            ],
1810
                            'report' => [
1811
                                'type' => Segment::class,
1812
                                'options' => [
1813
                                    'route' => '/report/:id',
1814
                                    'constraints' => [
1815
                                        'id' => '[A-Za-z0-9\-]+\=*'
1816
                                    ],
1817
                                    'defaults' => [
1818
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1819
                                        'action' => 'report'
1820
                                    ]
1821
                                ]
1822
                            ],
1823
                        ]
1824
                    ],
1 www 1825
                    'my-profiles' => [
1826
                        'type' => Literal::class,
1827
                        'options' => [
1828
                            'route' => '/my-profiles',
1829
                            'defaults' => [
1830
                                'controller' => '\LeadersLinked\Controller\MyProfilesController',
1831
                                'action' => 'index'
1832
                            ]
1833
                        ],
1834
                        'may_terminate' => true,
1835
                        'child_routes' => [
1836
                            'add' => [
1837
                                'type' => Literal::class,
1838
                                'options' => [
1839
                                    'route' => '/add',
1840
                                    'defaults' => [
1841
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1842
                                        'action' => 'add'
1843
                                    ]
1844
                                ]
1845
                            ],
1846
                            'edit' => [
1847
                                'type' => Segment::class,
1848
                                'options' => [
1849
                                    'route' => '/edit/:id',
1850
                                    'constraints' => [
1851
                                        'id' => '[A-Za-z0-9\-]+\=*'
1852
                                    ],
1853
                                    'defaults' => [
1854
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1855
                                        'action' => 'edit'
1856
                                    ]
1857
                                ]
1858
                            ],
1859
                            'delete' => [
1860
                                'type' => Segment::class,
1861
                                'options' => [
1862
                                    'route' => '/delete/:id',
1863
                                    'constraints' => [
1864
                                        'id' => '[A-Za-z0-9\-]+\=*'
1865
                                    ],
1866
                                    'defaults' => [
1867
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1868
                                        'action' => 'delete'
1869
                                    ]
1870
                                ]
1871
                            ],
1872
                            'extended' => [
1873
                                'type' => Segment::class,
1874
                                'options' => [
1875
                                    'route' => '/extended/:id',
1876
                                    'constraints' => [
1877
                                        'id' => '[A-Za-z0-9\-]+\=*'
1878
                                    ],
1879
                                    'defaults' => [
1880
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1881
                                        'action' => 'extended'
1882
                                    ]
1883
                                ]
1884
                            ],
1885
                            'image' => [
1886
                                'type' => Segment::class,
1887
                                'options' => [
1888
                                    'route' => '/image/:id/operation/:operation',
1889
                                    'constraints' => [
1890
                                        'id' => '[A-Za-z0-9\-]+\=*',
1891
                                        'operation' => 'upload|delete'
1892
                                    ],
1893
                                    'defaults' => [
1894
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1895
                                        'action' => 'image'
1896
                                    ]
1897
                                ]
1898
                            ],
1899
                            'cover' => [
1900
                                'type' => Segment::class,
1901
                                'options' => [
1902
                                    'route' => '/cover/:id/operation/:operation',
1903
                                    'constraints' => [
1904
                                        'id' => '[A-Za-z0-9\-]+\=*',
1905
                                        'operation' => 'upload|delete'
1906
                                    ],
1907
                                    'defaults' => [
1908
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1909
                                        'action' => 'cover'
1910
                                    ]
1911
                                ]
1912
                            ],
1913
                            'experience' => [
1914
                                'type' => Segment::class,
1915
                                'options' => [
1916
                                    'route' => '/experience/:id/operation/:operation[/:user_experience_id]',
1917
                                    'constraints' => [
1918
                                        'id' => '[A-Za-z0-9\-]+\=*',
1919
                                        'operation' => 'add|edit|delete',
1920
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1921
                                    ],
1922
                                    'defaults' => [
1923
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1924
                                        'action' => 'experience'
1925
                                    ]
1926
                                ]
1927
                            ],
1928
                            'education' => [
1929
                                'type' => Segment::class,
1930
                                'options' => [
1931
                                    'route' => '/education/:id/operation/:operation[/:user_education_id]',
1932
                                    'constraints' => [
1933
                                        'id' => '[A-Za-z0-9\-]+\=*',
1934
                                        'operation' => 'add|edit|delete',
1935
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
1936
                                    ],
1937
                                    'defaults' => [
1938
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1939
                                        'action' => 'education'
1940
                                    ]
1941
                                ]
1942
                            ],
1943
                            'language' => [
1944
                                'type' => Segment::class,
1945
                                'options' => [
1946
                                    'route' => '/language/:id',
1947
                                    'constraints' => [
1948
                                        'id' => '[A-Za-z0-9\-]+\=*'
1949
                                    ],
1950
                                    'defaults' => [
1951
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1952
                                        'action' => 'language'
1953
                                    ]
1954
                                ]
1955
                            ],
1956
                            'location' => [
1957
                                'type' => Segment::class,
1958
                                'options' => [
1959
                                    'route' => '/location/:id',
1960
                                    'constraints' => [
1961
                                        'id' => '[A-Za-z0-9\-]+\=*'
1962
                                    ],
1963
                                    'defaults' => [
1964
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1965
                                        'action' => 'location'
1966
                                    ]
1967
                                ]
1968
                            ],
1969
                            'skill' => [
1970
                                'type' => Segment::class,
1971
                                'options' => [
1972
                                    'route' => '/skill/:id',
1973
                                    'constraints' => [
1974
                                        'id' => '[A-Za-z0-9\-]+\=*'
1975
                                    ],
1976
                                    'defaults' => [
1977
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1978
                                        'action' => 'skill'
1979
                                    ]
1980
                                ]
1981
                            ],
1982
                            'social-network' => [
1983
                                'type' => Segment::class,
1984
                                'options' => [
1985
                                    'route' => '/social-network/:id',
1986
                                    'constraints' => [
1987
                                        'id' => '[A-Za-z0-9\-]+\=*'
1988
                                    ],
1989
                                    'defaults' => [
1990
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
1991
                                        'action' => 'socialNetwork'
1992
                                    ]
1993
                                ]
1994
                            ]
1995
                        ]
1996
                    ]
1997
                ]
1998
            ],
1999
            'company' => [
2000
                'type' => Literal::class,
2001
                'options' => [
2002
                    'route' => '/company',
2003
                    'defaults' => [
2004
                        'controller' => '\LeadersLinked\Controller\CompanyController',
2005
                        'action' => 'index'
2006
                    ]
2007
                ],
2008
                'may_terminate' => true,
2009
                'child_routes' => [
2010
                    'view' => [
2011
                        'type' => Segment::class,
2012
                        'options' => [
2013
                            'route' => '/view/:id',
2014
                            'constraints' => [
2015
                                'id' => '[A-Za-z0-9\-]+\=*'
2016
                            ],
2017
                            'defaults' => [
2018
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2019
                                'action' => 'view'
2020
                            ]
2021
                        ]
2022
                    ],
2023
                    'follow' => [
2024
                        'type' => Segment::class,
2025
                        'options' => [
2026
                            'route' => '/follow/:id',
2027
                            'constraints' => [
2028
                                'id' => '[A-Za-z0-9\-]+\=*'
2029
                            ],
2030
                            'defaults' => [
2031
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2032
                                'action' => 'follow'
2033
                            ]
2034
                        ]
2035
                    ],
2036
                    'unfollow' => [
2037
                        'type' => Segment::class,
2038
                        'options' => [
2039
                            'route' => '/unfollow/:id',
2040
                            'constraints' => [
2041
                                'id' => '[A-Za-z0-9\-]+\=*'
2042
                            ],
2043
                            'defaults' => [
2044
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2045
                                'action' => 'unfollow'
2046
                            ]
2047
                        ]
2048
                    ],
2049
                    'request' => [
2050
                        'type' => Segment::class,
2051
                        'options' => [
2052
                            'route' => '/request/:id',
2053
                            'constraints' => [
2054
                                'id' => '[A-Za-z0-9\-]+\=*'
2055
                            ],
2056
                            'defaults' => [
2057
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2058
                                'action' => 'request'
2059
                            ]
2060
                        ]
2061
                    ],
2062
                    'accept' => [
2063
                        'type' => Segment::class,
2064
                        'options' => [
2065
                            'route' => '/accept/:id',
2066
                            'constraints' => [
2067
                                'id' => '[A-Za-z0-9\-]+\=*'
2068
                            ],
2069
                            'defaults' => [
2070
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2071
                                'action' => 'accept'
2072
                            ]
2073
                        ]
2074
                    ],
2075
                    'cancel' => [
2076
                        'type' => Segment::class,
2077
                        'options' => [
2078
                            'route' => '/cancel/:id',
2079
                            'constraints' => [
2080
                                'id' => '[A-Za-z0-9\-]+\=*'
2081
                            ],
2082
                            'defaults' => [
2083
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2084
                                'action' => 'cancel'
2085
                            ]
2086
                        ]
2087
                    ],
2088
                    'reject' => [
2089
                        'type' => Segment::class,
2090
                        'options' => [
2091
                            'route' => '/reject/:id',
2092
                            'constraints' => [
2093
                                'id' => '[A-Za-z0-9\-]+\=*'
2094
                            ],
2095
                            'defaults' => [
2096
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2097
                                'action' => 'reject'
2098
                            ]
2099
                        ]
2100
                    ],
2101
                    'leave' => [
2102
                        'type' => Segment::class,
2103
                        'options' => [
2104
                            'route' => '/leave/:id',
2105
                            'constraints' => [
2106
                                'id' => '[A-Za-z0-9\-]+\=*'
2107
                            ],
2108
                            'defaults' => [
2109
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2110
                                'action' => 'leave'
2111
                            ]
2112
                        ]
2113
                    ],
2114
                    'following-companies' => [
2115
                        'type' => Literal::class,
2116
                        'options' => [
2117
                            'route' => '/following-companies',
2118
                            'defaults' => [
2119
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2120
                                'action' => 'followingCompanies'
2121
                            ]
2122
                        ],
2123
                    ],
2124
                    'requests-sent' => [
2125
                        'type' => Literal::class,
2126
                        'options' => [
2127
                            'route' => '/requests-sent',
2128
                            'defaults' => [
2129
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2130
                                'action' => 'requestsSent'
2131
                            ]
2132
                        ],
2133
                        'may_terminate' => true,
2134
                    ],
2135
                    'invitations-received' => [
2136
                        'type' => Literal::class,
2137
                        'options' => [
2138
                            'route' => '/invitations-received',
2139
                            'defaults' => [
2140
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2141
                                'action' => 'invitationsReceived'
2142
                            ]
2143
                        ],
2144
                        'may_terminate' => true,
2145
                    ],
2146
                    'i-work-with' => [
2147
                        'type' => Literal::class,
2148
                        'options' => [
2149
                            'route' => '/i-work-with',
2150
                            'defaults' => [
2151
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2152
                                'action' => 'iWorkWith'
2153
                            ]
2154
                        ],
2155
                        'may_terminate' => true,
2156
                    ],
2157
                    'my-companies' => [
2158
                        'type' => Literal::class,
2159
                        'options' => [
2160
                            'route' => '/my-companies',
2161
                            'defaults' => [
2162
                                'controller' => '\LeadersLinked\Controller\MyCompaniesController',
2163
                                'action' => 'index'
2164
                            ]
2165
                        ],
2166
                        'may_terminate' => true,
2167
                        'child_routes' => [
2168
                            'add' => [
2169
                                'type' => Literal::class,
2170
                                'options' => [
2171
                                    'route' => '/add',
2172
                                    'defaults' => [
2173
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
2174
                                        'action' => 'add'
2175
                                    ]
2176
                                ]
2177
                            ],
2178
                        ]
2179
                    ],
2180
                ]
2181
            ],
2182
            'account-settings' => [
2183
                'type' => Literal::class,
2184
                'options' => [
2185
                    'route' => '/account-settings',
2186
                    'defaults' => [
2187
                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
2188
                        'action' => 'index'
2189
                    ]
2190
                ],
2191
                'may_terminate' => true,
2192
                'child_routes' => [
2193
                    'image' => [
2194
                        'type' => Segment::class,
2195
                        'options' => [
2196
                            'route' => '/image/:operation',
2197
                            'cconstraints' => [
2198
                                'operation' => 'upload|delete'
2199
                            ],
2200
                            'defaults' => [
2201
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2202
                                'action' => 'image',
2203
                                'operation' => 'upload'
2204
                            ]
2205
                        ]
2206
                    ],
2207
                    'deactivate' => [
2208
                        'type' => Literal::class,
2209
                        'options' => [
2210
                            'route' => '/deactivate',
2211
                            'defaults' => [
2212
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2213
                                'action' => 'deactivate'
2214
                            ]
2215
                        ]
2216
                    ],
2217
                    'notifications' => [
2218
                        'type' => Literal::class,
2219
                        'options' => [
2220
                            'route' => '/notification',
2221
                            'defaults' => [
2222
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2223
                                'action' => 'notification'
2224
                            ]
2225
                        ]
2226
                    ],
2227
                    'password' => [
2228
                        'type' => Literal::class,
2229
                        'options' => [
2230
                            'route' => '/password',
2231
                            'defaults' => [
2232
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2233
                                'action' => 'password'
2234
                            ]
2235
                        ]
2236
                    ],
2237
                    'add-facebook' => [
2238
                        'type' => Literal::class,
2239
                        'options' => [
2240
                            'route' => '/add-facebook',
2241
                            'defaults' => [
2242
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2243
                                'action' => 'addFacebook'
2244
                            ]
2245
                        ]
2246
                    ],
2247
                    'remove-facebook' => [
2248
                        'type' => Literal::class,
2249
                        'options' => [
2250
                            'route' => '/remove-facebook',
2251
                            'defaults' => [
2252
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2253
                                'action' => 'removeFacebook'
2254
                            ]
2255
                        ]
2256
                    ],
2257
                    'add-twitter' => [
2258
                        'type' => Literal::class,
2259
                        'options' => [
2260
                            'route' => '/add-twitter',
2261
                            'defaults' => [
2262
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2263
                                'action' => 'addTwitter'
2264
                            ]
2265
                        ]
2266
                    ],
2267
                    'remove-twitter' => [
2268
                        'type' => Literal::class,
2269
                        'options' => [
2270
                            'route' => '/remove-twitter',
2271
                            'defaults' => [
2272
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2273
                                'action' => 'removeTwitter'
2274
                            ]
2275
                        ]
2276
                    ],
2277
                    'add-google' => [
2278
                        'type' => Literal::class,
2279
                        'options' => [
2280
                            'route' => '/add-google',
2281
                            'defaults' => [
2282
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2283
                                'action' => 'addGoogle'
2284
                            ]
2285
                        ]
2286
                    ],
2287
                    'remove-google' => [
2288
                        'type' => Literal::class,
2289
                        'options' => [
2290
                            'route' => '/remove-google',
2291
                            'defaults' => [
2292
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2293
                                'action' => 'removeGoogle'
2294
                            ]
2295
                        ]
2296
                    ],
2297
                    'location' => [
2298
                        'type' => Literal::class,
2299
                        'options' => [
2300
                            'route' => '/location',
2301
                            'defaults' => [
2302
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2303
                                'action' => 'location'
2304
                            ]
2305
                        ]
2306
                    ],
2307
                    'privacy' => [
2308
                        'type' => Literal::class,
2309
                        'options' => [
2310
                            'route' => '/privacy',
2311
                            'defaults' => [
2312
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2313
                                'action' => 'privacy'
2314
                            ]
2315
                        ]
2316
                    ],
2317
                    'basic' => [
2318
                        'type' => Literal::class,
2319
                        'options' => [
2320
                            'route' => '/basic',
2321
                            'defaults' => [
2322
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2323
                                'action' => 'basic'
2324
                            ]
2325
                        ]
2326
                    ],
2327
                    'transactions' => [
2328
                        'type' => Literal::class,
2329
                        'options' => [
2330
                            'route' => '/transactions',
2331
                            'defaults' => [
2332
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2333
                                'action' => 'transactions'
2334
                            ]
2335
                        ],
2336
                        'may_terminate' => true,
2337
                        'child_routes' => [
2338
                            'add-funds' => [
2339
                                'type' => Literal::class,
2340
                                'options' => [
2341
                                    'route' => '/add-funds',
2342
                                    'defaults' => [
2343
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
2344
                                        'action' => 'addFund'
2345
                                    ]
2346
                                ]
2347
                            ],
2348
                        ]
2349
                    ],
2350
                    'browsers' => [
2351
                        'type' => Literal::class,
2352
                        'options' => [
2353
                            'route' => '/browsers',
2354
                            'defaults' => [
2355
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2356
                                'action' => 'browsers'
2357
                            ]
2358
                        ]
2359
                    ],
2360
                    'ips' => [
2361
                        'type' => Literal::class,
2362
                        'options' => [
2363
                            'route' => '/ips',
2364
                            'defaults' => [
2365
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2366
                                'action' => 'ips'
2367
                            ]
2368
                        ]
2369
                    ],
2370
                    'devices' => [
2371
                        'type' => Literal::class,
2372
                        'options' => [
2373
                            'route' => '/devices',
2374
                            'defaults' => [
2375
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2376
                                'action' => 'devices'
2377
                            ]
2378
                        ]
1979 efrain 2379
                    ],
2380
                    'delete-account' => [
2381
                        'type' => Literal::class,
2382
                        'options' => [
2383
                            'route' => '/delete-account',
2384
                            'defaults' => [
2385
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2386
                                'action' => 'deleteAccount'
2387
                            ]
2388
                        ]
2389
                    ],
1 www 2390
                ],
2391
                'may_terminate' => true
2392
            ],
2393
            'moodle' => [
2394
                'type' => Literal::class,
2395
                'options' => [
2396
                    'route' => '/moodle',
2397
                    'defaults' => [
2398
                        'controller' => '\LeadersLinked\Controller\MoodleController',
2399
                        'action' => 'index'
2400
                    ]
2401
                ],
2402
                'may_terminate' => true
2403
            ],
2404
            'oauth' => [
2405
                'type' => Literal::class,
2406
                'options' => [
2407
                    'route' => '/oauth',
2408
                    'defaults' => [
2409
                        'controller' => '\LeadersLinked\Controller\OauthController',
2410
                        'action' => 'index'
2411
                    ]
2412
                ],
2413
                'may_terminate' => true,
2414
                'child_routes' => [
2415
                    'facebook' => [
2416
                        'type' => Literal::class,
2417
                        'options' => [
2418
                            'route' => '/facebook',
2419
                            'defaults' => [
2420
                                'controller' => '\LeadersLinked\Controller\OauthController',
2421
                                'action' => 'facebook'
2422
                            ]
2423
                        ],
2424
                        'may_terminate' => true,
2425
                        'child_routes' => [
2426
                            'delete' => [
2427
                                'type' => Literal::class,
2428
                                'options' => [
2429
                                    'route' => '/delete',
2430
                                    'defaults' => [
2431
                                        'controller' => '\LeadersLinked\Controller\OauthController',
2432
                                        'action' => 'facebookDelete'
2433
                                    ]
2434
                                ],
2435
                                'may_terminate' => true,
2436
                            ],
2437
                            'cancel' => [
2438
                                'type' => Literal::class,
2439
                                'options' => [
2440
                                    'route' => '/cancel',
2441
                                    'defaults' => [
2442
                                        'controller' => '\LeadersLinked\Controller\OauthController',
2443
                                        'action' => 'facebookCancel'
2444
                                    ]
2445
                                ],
2446
                                'may_terminate' => true,
2447
                            ],
553 geraldo 2448
                        ],
1 www 2449
                    ],
2450
                    'twitter' => [
2451
                        'type' => Literal::class,
2452
                        'options' => [
2453
                            'route' => '/twitter',
2454
                            'defaults' => [
2455
                                'controller' => '\LeadersLinked\Controller\OauthController',
2456
                                'action' => 'twitter'
2457
                            ]
2458
                        ],
2459
                        'may_terminate' => true,
2460
                    ],
2461
                    'google' => [
2462
                        'type' => Literal::class,
2463
                        'options' => [
2464
                            'route' => '/google',
2465
                            'defaults' => [
2466
                                'controller' => '\LeadersLinked\Controller\OauthController',
2467
                                'action' => 'google'
2468
                            ]
2469
                        ],
2470
                        'may_terminate' => true,
2471
                    ],
553 geraldo 2472
                /* 'facebook' => [
2473
                  'type' => Literal::class,
2474
                  'options' => [
2475
                  'route' => '/facebook',
2476
                  'defaults' => [
2477
                  'controller' => '\LeadersLinked\Controller\OauthController',
2478
                  'action' => 'facebook'
2479
                  ]
2480
                  ],
2481
                  'may_terminate' => true,
2482
                  'child_routes' => [
2483
                  'cancel' => [
2484
                  'type' => Literal::class,
2485
                  'options' => [
2486
                  'route' => '/cancel',
2487
                  'defaults' => [
2488
                  'controller' => '\LeadersLinked\Controller\OauthController',
2489
                  'action' => 'facebookCancel'
2490
                  ]
2491
                  ]
2492
                  ],
2493
                  'delete' => [
2494
                  'type' => Literal::class,
2495
                  'options' => [
2496
                  'route' => '/delete',
2497
                  'defaults' => [
2498
                  'controller' => '\LeadersLinked\Controller\OauthController',
2499
                  'action' => 'facebookDelete'
2500
                  ]
2501
                  ]
2502
                  ]
2503
                  ]
2504
                  ] */
1 www 2505
                ]
2506
            ],
2507
            'helpers' => [
2508
                'type' => Literal::class,
2509
                'options' => [
2510
                    'route' => '/helpers',
2511
                    'defaults' => [
2512
                        'controller' => '\LeadersLinked\Controller\HelperController',
2513
                        'action' => 'index'
2514
                    ]
2515
                ],
2516
                'may_terminate' => true,
2517
                'child_routes' => [
2518
                    'search-people' => [
2519
                        'type' => Literal::class,
2520
                        'options' => [
2521
                            'route' => '/search-people',
2522
                            'defaults' => [
2523
                                'controller' => '\LeadersLinked\Controller\HelperController',
2524
                                'action' => 'searchPeople'
2525
                            ]
2526
                        ]
2527
                    ],
2528
                    'company-suggestion' => [
2529
                        'type' => Segment::class,
2530
                        'options' => [
2531
                            'route' => '/company-suggestion/:company_id',
2532
                            'constraints' => [
2533
                                'company_id' => '[A-Za-z0-9\-]+\=*'
2534
                            ],
2535
                            'defaults' => [
2536
                                'controller' => '\LeadersLinked\Controller\HelperController',
2537
                                'action' => 'companySuggestion'
2538
                            ]
2539
                        ]
2540
                    ],
2541
                    'posts' => [
2542
                        'type' => Literal::class,
2543
                        'options' => [
2544
                            'route' => '/posts',
2545
                            'defaults' => [
2546
                                'controller' => '\LeadersLinked\Controller\HelperController',
2547
                                'action' => 'posts'
2548
                            ]
2549
                        ]
2550
                    ],
2551
                    'people-you-may-know' => [
2552
                        'type' => Literal::class,
2553
                        'options' => [
2554
                            'route' => '/people-you-may-know',
2555
                            'defaults' => [
2556
                                'controller' => '\LeadersLinked\Controller\HelperController',
2557
                                'action' => 'peopleYouMayKnow'
2558
                            ]
2559
                        ]
2560
                    ],
2561
                    'people-viewed-profile' => [
2562
                        'type' => Segment::class,
2563
                        'options' => [
2564
                            'route' => '/people-viewed-profile/:user_profile_id',
2565
                            'constraints' => [
2566
                                'user_profile_id' => '[A-Za-z0-9\-]+\=*'
2567
                            ],
2568
                            'defaults' => [
2569
                                'controller' => '\LeadersLinked\Controller\HelperController',
2570
                                'action' => 'peopleViewedProfile'
2571
                            ]
2572
                        ]
2573
                    ],
2574
                    'company-follower' => [
2575
                        'type' => Segment::class,
2576
                        'options' => [
2577
                            'route' => '/company-follower/:company_id',
2578
                            'constraints' => [
2579
                                'company_id' => '[A-Za-z0-9\-]+\=*'
2580
                            ],
2581
                            'defaults' => [
2582
                                'controller' => '\LeadersLinked\Controller\HelperController',
2583
                                'action' => 'companyFollower'
2584
                            ]
2585
                        ]
2586
                    ],
2587
                    'group-members' => [
2588
                        'type' => Segment::class,
2589
                        'options' => [
2590
                            'route' => '/group-members/:group_id',
2591
                            'constraints' => [
2592
                                'group_id' => '[A-Za-z0-9\-]+\=*'
2593
                            ],
2594
                            'defaults' => [
2595
                                'controller' => '\LeadersLinked\Controller\HelperController',
2596
                                'action' => 'groupMembers'
2597
                            ]
2598
                        ],
2599
                        'may_terminate' => true,
2600
                        'child_routes' => [
2601
                            'invite' => [
2602
                                'type' => Literal::class,
2603
                                'options' => [
2604
                                    'route' => '/invite',
2605
                                    'defaults' => [
2606
                                        'controller' => '\LeadersLinked\Controller\HelperController',
2607
                                        'action' => 'groupMemberInvite'
2608
                                    ]
2609
                                ]
2610
                            ],
2611
                            'reject' => [
2612
                                'type' => Segment::class,
2613
                                'options' => [
2614
                                    'route' => '/reject/:user_id',
2615
                                    'constraints' => [
2616
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2617
                                    ],
2618
                                    'defaults' => [
2619
                                        'controller' => '\LeadersLinked\Controller\HelperController',
2620
                                        'action' => 'groupMemberReject'
2621
                                    ]
2622
                                ]
2623
                            ],
2624
                            'cancel' => [
2625
                                'type' => Segment::class,
2626
                                'options' => [
2627
                                    'route' => '/cancel/:user_id',
2628
                                    'constraints' => [
2629
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2630
                                    ],
2631
                                    'defaults' => [
2632
                                        'controller' => '\LeadersLinked\Controller\HelperController',
2633
                                        'action' => 'groupMemberCancel'
2634
                                    ]
2635
                                ]
2636
                            ],
2637
                            'approve' => [
2638
                                'type' => Segment::class,
2639
                                'options' => [
2640
                                    'route' => '/approve/:user_id',
2641
                                    'constraints' => [
2642
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2643
                                    ],
2644
                                    'defaults' => [
2645
                                        'controller' => '\LeadersLinked\Controller\HelperController',
2646
                                        'action' => 'groupMemberApprove'
2647
                                    ]
2648
                                ]
2649
                            ],
553 geraldo 2650
                        ]
1 www 2651
                    ],
2652
                    'groups-suggestion' => [
2920 efrain 2653
                        'type' => Literal::class,
1 www 2654
                        'options' => [
2920 efrain 2655
                            'route' => '/groups-suggestion',
1 www 2656
                            'defaults' => [
2657
                                'controller' => '\LeadersLinked\Controller\HelperController',
2658
                                'action' => 'groupsSuggestion'
2659
                            ]
2660
                        ]
2661
                    ],
3298 efrain 2662
                    'my-groups' => [
2663
                        'type' => Literal::class,
2664
                        'options' => [
2665
                            'route' => '/my-groups',
2666
                            'defaults' => [
2667
                                'controller' => '\LeadersLinked\Controller\HelperController',
2668
                                'action' => 'myGroups'
2669
                            ]
2670
                        ]
2671
                    ],
2444 efrain 2672
                    'footer' => [
2673
                        'type' => Literal::class,
2674
                        'options' => [
2675
                            'route' => '/footer',
2676
                            'defaults' => [
2677
                                'controller' => '\LeadersLinked\Controller\HelperController',
2678
                                'action' => 'footer'
2679
                            ]
2680
                        ]
2681
                    ],
1 www 2682
                ]
2683
            ],
2684
            'help' => [
2685
                'type' => Literal::class,
2686
                'options' => [
2687
                    'route' => '/help',
2688
                    'defaults' => [
2689
                        'controller' => '\LeadersLinked\Controller\HelpController',
2690
                        'action' => 'send'
2691
                    ]
2692
                ],
2693
                'may_terminate' => true,
553 geraldo 2694
            ],
1 www 2695
            'services' => [
2696
                'type' => Literal::class,
2697
                'options' => [
2698
                    'route' => '/services',
2699
                    'defaults' => [
2700
                        'controller' => '\LeadersLinked\Controller\ServiceController',
2701
                        'action' => 'index'
2702
                    ]
2703
                ],
2704
                'may_terminate' => true,
2705
                'child_routes' => [
2706
                    'storage' => [
2707
                        'type' => Segment::class,
2708
                        'options' => [
2709
                            'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
2710
                            'constraints' => [
2711
                                'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|microlearning-topic|microlearning-capsule|microlearning-slide',
2712
                                'code' => '[A-Za-z0-9\-]+\=*',
2713
                                'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
2714
                            ],
2715
                            // MjM5ODk0Mzgg
2716
                            'defaults' => [
2717
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2718
                                'action' => 'storage'
2719
                            ]
2720
                        ]
2721
                    ],
2722
                    'device' => [
2723
                        'type' => Literal::class,
2724
                        'options' => [
2725
                            'route' => '/device',
2726
                            'defaults' => [
2727
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2728
                                'action' => 'device'
2729
                            ]
2730
                        ]
2731
                    ],
2732
                    'fcm' => [
2733
                        'type' => Literal::class,
2734
                        'options' => [
2735
                            'route' => '/fcm',
2736
                            'defaults' => [
2737
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2738
                                'action' => 'fcm'
2739
                            ]
2740
                        ]
2741
                    ],
2742
                    'signin' => [
2743
                        'type' => Literal::class,
2744
                        'options' => [
2745
                            'route' => '/signin',
2746
                            'defaults' => [
2747
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2748
                                'action' => 'signin'
2749
                            ]
2750
                        ]
2751
                    ],
2752
                    'check-session' => [
2753
                        'type' => Literal::class,
2754
                        'options' => [
2755
                            'route' => '/check-session',
2756
                            'defaults' => [
2757
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2758
                                'action' => 'checkSession'
2759
                            ]
2760
                        ]
2761
                    ],
2762
                    'signout' => [
2763
                        'type' => Literal::class,
2764
                        'options' => [
2765
                            'route' => '/signout',
2766
                            'defaults' => [
2767
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2768
                                'action' => 'signout'
2769
                            ]
2770
                        ]
2771
                    ],
2772
                    'sync' => [
2773
                        'type' => Literal::class,
2774
                        'options' => [
2775
                            'route' => '/sync',
2776
                            'defaults' => [
2777
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2778
                                'action' => 'sync'
2779
                            ]
2780
                        ]
2781
                    ],
2782
                    'sync-batch' => [
2783
                        'type' => Literal::class,
2784
                        'options' => [
2785
                            'route' => '/sync-batch',
2786
                            'defaults' => [
2787
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2788
                                'action' => 'syncBatch'
2789
                            ]
2790
                        ]
2791
                    ],
2004 efrain 2792
                    'delete-account' => [
2793
                        'type' => Literal::class,
2794
                        'options' => [
2795
                            'route' => '/delete-account',
2796
                            'defaults' => [
2797
                                'controller' => '\LeadersLinked\Controller\ServiceController',
2798
                                'action' => 'deleteAccount'
2799
                            ]
2800
                        ]
2801
                    ],
1 www 2802
                    'microlearning' => [
2803
                        'type' => Literal::class,
2804
                        'options' => [
2805
                            'route' => '/microlearning',
2806
                            'defaults' => [
2807
                                'controller' => '\LeadersLinked\Controller\ServiceMicrolearningController',
2808
                                'action' => 'index'
2809
                            ]
2810
                        ],
2811
                        'may_terminate' => true,
2812
                        'child_routes' => [
2813
                            'refresh' => [
2814
                                'type' => Literal::class,
2815
                                'options' => [
2816
                                    'route' => '/refresh',
2817
                                    'defaults' => [
2818
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
2819
                                        'action' => 'microlearningRefresh'
2820
                                    ]
2821
                                ]
2822
                            ],
1979 efrain 2823
                            'delete-account' => [
2824
                                'type' => Literal::class,
2825
                                'options' => [
2826
                                    'route' => '/delete-account',
2827
                                    'defaults' => [
2828
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
2829
                                        'action' => 'deleteAccount'
2830
                                    ]
2831
                                ]
2832
                            ],
1 www 2833
                            'check-changes' => [
2834
                                'type' => Literal::class,
2835
                                'options' => [
2836
                                    'route' => '/check-changes',
2837
                                    'defaults' => [
2838
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
2839
                                        'action' => 'microlearningCheckChanges'
2840
                                    ]
2841
                                ]
2842
                            ],
280 efrain 2843
                            'capsules' => [
2844
                                'type' => Literal::class,
2845
                                'options' => [
2846
                                    'route' => '/capsules',
2847
                                    'defaults' => [
2848
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
2849
                                        'action' => 'microlearningCapsules'
2850
                                    ]
2851
                                ],
2852
                                'may_terminate' => true,
2853
                                'child_routes' => [
2854
                                    'comments' => [
553 geraldo 2855
                                        'type' => Segment::class,
280 efrain 2856
                                        'options' => [
2857
                                            'route' => '/comments/:capsule_id',
2858
                                            'constraints' => [
2859
                                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
2860
                                            ],
2861
                                            'defaults' => [
2862
                                                'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2863
                                                'action' => 'index'
2864
                                            ]
2865
                                        ],
2866
                                        'may_terminate' => true,
2867
                                        'child_routes' => [
2868
                                            'add' => [
2869
                                                'type' => Literal::class,
2870
                                                'options' => [
2871
                                                    'route' => '/add',
2872
                                                    'defaults' => [
2873
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2874
                                                        'action' => 'add'
2875
                                                    ]
2876
                                                ]
2877
                                            ],
2878
                                            'get' => [
2879
                                                'type' => Segment::class,
2880
                                                'options' => [
1323 efrain 2881
                                                    'route' => '/get/:comment_id',
280 efrain 2882
                                                    'constraints' => [
1323 efrain 2883
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
280 efrain 2884
                                                    ],
2885
                                                    'defaults' => [
2886
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2887
                                                        'action' => 'get'
2888
                                                    ]
2889
                                                ]
2890
                                            ],
1323 efrain 2891
                                            'edit' => [
2892
                                                'type' => Segment::class,
2893
                                                'options' => [
2894
                                                    'route' => '/edit/:comment_id',
2895
                                                    'constraints' => [
2896
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
2897
                                                    ],
2898
                                                    'defaults' => [
2899
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2900
                                                        'action' => 'edit'
2901
                                                    ]
2902
                                                ]
2903
                                            ],
280 efrain 2904
                                            'delete' => [
2905
                                                'type' => Segment::class,
2906
                                                'options' => [
1323 efrain 2907
                                                    'route' => '/delete/:comment_id',
280 efrain 2908
                                                    'constraints' => [
1323 efrain 2909
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
280 efrain 2910
                                                    ],
2911
                                                    'defaults' => [
2912
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2913
                                                        'action' => 'delete'
2914
                                                    ]
2915
                                                ]
2916
                                            ],
2917
                                        ]
2918
                                    ],
553 geraldo 2919
                                ]
280 efrain 2920
                            ],
733 efrain 2921
 
553 geraldo 2922
                        ]
1 www 2923
                    ],
2924
                ]
2925
            ],
2926
            'marketplace' => [
2927
                'type' => Literal::class,
2928
                'options' => [
2929
                    'route' => '/marketplace',
2930
                    'defaults' => [
2931
                        'controller' => '\LeadersLinked\Controller\MarketPlaceController',
2932
                        'action' => 'index'
2933
                    ]
2934
                ],
2935
                'may_terminate' => true,
2936
                'child_routes' => [
2937
                    'categories' => [
2938
                        'type' => Segment::class,
2939
                        'options' => [
2940
                            'route' => '/categories',
2941
                            'defaults' => [
2942
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
2943
                                'action' => 'getCategories'
2944
                            ]
2945
                        ]
2946
                    ],
2947
                    'enroll' => [
2948
                        'type' => Segment::class,
2949
                        'options' => [
2950
                            'route' => '/enroll/:company_id/:topic_id/:capsule_id',
2951
                            'constraints' => [
2952
                                'company_id' => '[A-Za-z0-9\-]+\=*',
2953
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
2954
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
2955
                            ],
2956
                            'defaults' => [
2957
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
2958
                                'action' => 'enroll'
2959
                            ]
2960
                        ]
2961
                    ],
2962
                ]
553 geraldo 2963
            ],
1 www 2964
        ]
2965
    ],
2966
    'controllers' => [
2967
        'factories' => [
2968
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
2969
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2970
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
2971
            \LeadersLinked\Controller\ChatController::class => \LeadersLinked\Factory\Controller\ChatControllerFactory::class,
2972
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2973
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
2974
            \LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
2975
            \LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
2976
            \LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
2977
            \LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
2978
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2979
            \LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
2980
            \LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
2981
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
2982
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2983
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
3639 efrain 2984
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
1 www 2985
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
2986
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
2987
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
3262 efrain 2988
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
1 www 2989
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
2990
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2991
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
272 geraldo 2992
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
559 geraldo 2993
            \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
1 www 2994
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
2995
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
2996
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
3639 efrain 2997
            \LeadersLinked\Controller\StorageNetworkController::class => \LeadersLinked\Factory\Controller\StorageNetworkControllerFactory::class,
1 www 2998
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
1323 efrain 2999
            \LeadersLinked\Controller\ServiceCapsuleCommentsController::class => \LeadersLinked\Factory\Controller\ServiceCapsuleCommentsControllerFactory::class,
3000
 
3001
 
1 www 3002
        ],
3003
        'aliases' => [
3004
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
3005
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
3006
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
3007
            '\LeadersLinked\Controller\ChatController' => \LeadersLinked\Controller\ChatController::class,
3008
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
3009
            '\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
3010
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
3011
            '\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
3012
            '\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
3013
            '\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
3014
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
553 geraldo 3015
            '\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
3639 efrain 3016
            '\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
1 www 3017
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
3018
            '\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
3019
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
3020
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3021
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
3022
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3023
            '\LeadersLinked\Controller\ProfileMicrolearningController' => \LeadersLinked\Controller\ProfileMicrolearningController::class,
3024
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3025
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3026
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3262 efrain 3027
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
1 www 3028
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
3029
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
3639 efrain 3030
            '\LeadersLinked\Controller\StorageNetworkController' => \LeadersLinked\Controller\StorageNetworkController::class,
1 www 3031
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
3032
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
1323 efrain 3033
            '\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,
273 geraldo 3034
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
559 geraldo 3035
            '\LeadersLinked\Controller\PerformanceEvaluationController' => \LeadersLinked\Controller\PerformanceEvaluationController::class,
1 www 3036
        ]
3037
    ],
3038
    'laminas-cli' => [
3039
        'commands' => [
3040
            'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
3041
            'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
1979 efrain 3042
            'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
1 www 3043
            'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
3044
            'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
3045
            'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
242 efrain 3046
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
1 www 3047
        ]
3048
    ],
3049
    'service_manager' => [
3050
        'abstract_factories' => [
3051
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
3052
        ],
3053
        'factories' => [
3054
            'RenderingStrategy' => function ($container) {
3055
                $translator = $container->get('MvcTranslator');
3056
                return new \LeadersLinked\View\RenderingStrategy($translator);
3057
            },
3058
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
3059
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
1979 efrain 3060
 
1 www 3061
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
3062
            \LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
1979 efrain 3063
            \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
3064
 
1 www 3065
            \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
3066
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
3067
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
1979 efrain 3068
 
242 efrain 3069
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
1 www 3070
        ],
553 geraldo 3071
        'aliases' => [// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 3072
        ]
3073
    ],
3074
    'view_helpers' => [
3075
        'factories' => [
3076
            \LeadersLinked\Helper\ChatHelper::class => \LeadersLinked\Factory\Helper\ChatHelperFactory::class,
3639 efrain 3077
           // \LeadersLinked\Helper\CompanyFollowerHelper::class => \LeadersLinked\Factory\Helper\CompanyFollowerHelperFactory::class,
3078
           // \LeadersLinked\Helper\CompanySuggestionHelper::class => \LeadersLinked\Factory\Helper\CompanySuggestionHelperFactory::class,
1 www 3079
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
3639 efrain 3080
            \LeadersLinked\Helper\CurrentNetworkHelper::class => \LeadersLinked\Factory\Helper\CurrentNetworkHelperFactory::class,
3081
           // \LeadersLinked\Helper\GroupMembersHelper::class => \LeadersLinked\Factory\Helper\GroupMembersHelperFactory::class,
3082
           // \LeadersLinked\Helper\GroupsSuggestionHelper::class => \LeadersLinked\Factory\Helper\GroupsSuggestionHelperFactory::class,
3083
           \LeadersLinked\Helper\MenuHelper::class => \LeadersLinked\Factory\Helper\MenuHelperFactory::class,
3084
           // \LeadersLinked\Helper\PeopleViewedProfileHelper::class => \LeadersLinked\Factory\Helper\PeopleViewedProfileHelperFactory::class,
3085
          //  \LeadersLinked\Helper\PeopleYouMayKnowHelper::class => \LeadersLinked\Factory\Helper\PeopleYouMayKnowHelperFactory::class,
3086
          //  \LeadersLinked\Helper\SimilarGroupsHelper::class => \LeadersLinked\Factory\Helper\SimilarGroupsHelperFactory::class
3087
            \LeadersLinked\Helper\NetworkFavicoHelper::class => \LeadersLinked\Factory\Helper\NetworkFavicoHelperFactory::class,
3088
            \LeadersLinked\Helper\NetworkIntroHelper::class => \LeadersLinked\Factory\Helper\NetworkIntroHelperFactory::class,
3089
            \LeadersLinked\Helper\NetworkLogoHelper::class => \LeadersLinked\Factory\Helper\NetworkLogoHelperFactory::class,
3090
            \LeadersLinked\Helper\NetworkNavbarHelper::class => \LeadersLinked\Factory\Helper\NetworkNavbarHelperFactory::class,
3091
            \LeadersLinked\Helper\NetworkStylesAndColorsHelper::class => \LeadersLinked\Factory\Helper\NetworkStylesAndColorsHelperFactory::class,
3092
 
1 www 3093
        ],
3094
        'invokables' => [
3639 efrain 3095
            //'menuBackendHelper' => \LeadersLinked\Helper\MenuBackendHelper::class,
3096
           // 'menuMyCompanyHelper' => \LeadersLinked\Helper\MenuMyCompanyHelper::class,
1 www 3097
            'footerHelper' => \LeadersLinked\Helper\FooterHelper::class
3098
        ],
3099
        'aliases' => [
3100
            'chatHelper' => \LeadersLinked\Helper\ChatHelper::class,
3639 efrain 3101
            //'companyFollowerHelper' => \LeadersLinked\Helper\CompanyFollowerHelper::class,
3102
           // 'companySuggestionHelper' => \LeadersLinked\Helper\CompanySuggestionHelper::class,
1 www 3103
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
3639 efrain 3104
            'currentNetworkHelper' => \LeadersLinked\Helper\CurrentNetworkHelper::class,
1 www 3105
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
3639 efrain 3106
            //'peopleViewedProfileHelper' => \LeadersLinked\Helper\PeopleViewedProfileHelper::class,
3107
            //'peopleYouMayKnowHelper' => \LeadersLinked\Helper\PeopleYouMayKnowHelper::class,
3108
            //'groupMembersHelper' => \LeadersLinked\Helper\GroupMembersHelper::class,
3109
            //'similarGroupsHelper' => \LeadersLinked\Helper\SimilarGroupsHelper::class
3110
            'networkFavicoHelper'  => \LeadersLinked\Helper\NetworkFavicoHelper::class,
3111
            'networkIntroHelper' => \LeadersLinked\Helper\NetworkIntroHelper::class,
3112
            'networkLogoHelper'  => \LeadersLinked\Helper\NetworkLogoHelper::class,
3113
            'networkNavbarHelper'  => \LeadersLinked\Helper\NetworkNavbarHelper::class,
3114
            'networkStylesAndColorsHelper'  => \LeadersLinked\Helper\NetworkStylesAndColorsHelper::class,
3115
 
1 www 3116
        ]
3117
    ],
3118
    'controller_plugins' => [
3119
        'invokables' => [],
3120
        'factories' => [
2920 efrain 3121
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
3122
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class,
1 www 3123
        ],
3124
        'aliases' => [
2920 efrain 3125
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
3126
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class,
1 www 3127
        ]
3128
    ],
3129
    'view_manager' => [
3130
        'display_not_found_reason' => true,
3131
        'display_exceptions' => true,
3132
        'doctype' => 'HTML5',
3133
        'not_found_template' => 'error/404',
3134
        'exception_template' => 'error/index',
3135
        'template_map' => [
3136
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
3137
            'error/404' => __DIR__ . '/../view/error/404.phtml',
3138
            'error/index' => __DIR__ . '/../view/error/index.phtml'
3139
        ],
3140
        'template_path_stack' => [
3141
            __DIR__ . '/../view'
3142
        ],
3143
        'strategies' => [
3144
            'ViewJsonStrategy',
3145
            'RenderingStrategy'
3146
        ]
3147
    ]
3148
];
3149