Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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