Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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