Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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