Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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