Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6945 | | Comparar con el anterior | Ultima modificación | Ver Log |

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