Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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