Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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