Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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