Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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