Proyectos de Subversion LeadersLinked - Services

Rev

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

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