Proyectos de Subversion LeadersLinked - Backend

Rev

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