Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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