Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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