Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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