Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1263 | Rev 1321 | 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
 
611
 
612
            /*             * *** START PROFILE *** */
1 www 613
            'profile' => [
614
                'type' => Literal::class,
615
                'options' => [
616
                    'route' => '/profile',
617
                    'defaults' => [
618
                        'controller' => '\LeadersLinked\Controller\ProfileController',
619
                        'action' => 'index'
620
                    ]
621
                ],
622
                'may_terminate' => true,
623
                'child_routes' => [
624
                    'extended' => [
625
                        'type' => Segment::class,
626
                        'options' => [
627
                            'route' => '/extended',
628
                            'defaults' => [
629
                                'controller' => '\LeadersLinked\Controller\ProfileController',
630
                                'action' => 'extended'
631
                            ]
632
                        ]
633
                    ],
634
                    'image' => [
635
                        'type' => Segment::class,
636
                        'options' => [
637
                            'route' => '/image/:operation',
638
                            'constraints' => [
639
                                'operation' => 'upload|delete'
640
                            ],
641
                            'defaults' => [
642
                                'controller' => '\LeadersLinked\Controller\ProfileController',
643
                                'action' => 'image'
644
                            ]
645
                        ]
646
                    ],
647
                    'cover' => [
648
                        'type' => Segment::class,
649
                        'options' => [
650
                            'route' => '/cover/:operation',
651
                            'constraints' => [
652
                                'operation' => 'upload|delete'
653
                            ],
654
                            'defaults' => [
655
                                'controller' => '\LeadersLinked\Controller\ProfileController',
656
                                'action' => 'cover'
657
                            ]
658
                        ]
659
                    ],
768 geraldo 660
                    'header' => [
661
                        'type' => Segment::class,
662
                        'options' => [
663
                            'route' => '/header/:operation',
664
                            'constraints' => [
665
                                'operation' => 'upload|delete'
666
                            ],
667
                            'defaults' => [
668
                                'controller' => '\LeadersLinked\Controller\ProfileController',
669
                                'action' => 'header'
670
                            ]
671
                        ]
672
                    ],
673
                    'footer' => [
674
                        'type' => Segment::class,
675
                        'options' => [
676
                            'route' => '/footer/:operation',
677
                            'constraints' => [
678
                                'operation' => 'upload|delete'
679
                            ],
680
                            'defaults' => [
681
                                'controller' => '\LeadersLinked\Controller\ProfileController',
682
                                'action' => 'footer'
683
                            ]
684
                        ]
685
                    ],
1 www 686
                    'website' => [
687
                        'type' => Segment::class,
688
                        'options' => [
689
                            'route' => '/website',
690
                            'defaults' => [
691
                                'controller' => '\LeadersLinked\Controller\ProfileController',
692
                                'action' => 'website'
693
                            ]
694
                        ]
695
                    ],
696
                    'foundation_year' => [
697
                        'type' => Segment::class,
698
                        'options' => [
699
                            'route' => '/foundation_year',
700
                            'defaults' => [
701
                                'controller' => '\LeadersLinked\Controller\ProfileController',
702
                                'action' => 'foundationYear'
703
                            ]
704
                        ]
705
                    ],
706
                    'location' => [
707
                        'type' => Segment::class,
708
                        'options' => [
709
                            'route' => '/location/:operation[/:id]',
710
                            'constraints' => [
711
                                'operation' => 'add|edit|delete',
712
                                'id' => '[A-Za-z0-9\-]+\=*'
713
                            ],
714
                            'defaults' => [
715
                                'controller' => '\LeadersLinked\Controller\ProfileController',
716
                                'action' => 'location'
717
                            ]
718
                        ]
719
                    ],
720
                    'social-network' => [
721
                        'type' => Segment::class,
722
                        'options' => [
723
                            'route' => '/social-network',
724
                            'defaults' => [
725
                                'controller' => '\LeadersLinked\Controller\ProfileController',
726
                                'action' => 'socialNetwork'
727
                            ]
728
                        ]
729
                    ],
730
                    'industry' => [
731
                        'type' => Segment::class,
732
                        'options' => [
733
                            'route' => '/industry',
734
                            'defaults' => [
735
                                'controller' => '\LeadersLinked\Controller\ProfileController',
736
                                'action' => 'industry'
737
                            ]
738
                        ]
739
                    ],
740
                    'company-size' => [
741
                        'type' => Segment::class,
742
                        'options' => [
743
                            'route' => '/company-size',
744
                            'defaults' => [
745
                                'controller' => '\LeadersLinked\Controller\ProfileController',
746
                                'action' => 'companySize'
747
                            ]
748
                        ]
749
                    ]
750
                ],
751
            ],
1089 geraldo 752
            /*             * * END PROFILE * */
753
 
754
            /*             * *** START FOLLOWERS *** */
1 www 755
            'followers' => [
756
                'type' => Literal::class,
757
                'options' => [
758
                    'route' => '/followers',
759
                    'defaults' => [
760
                        'controller' => '\LeadersLinked\Controller\FollowerController',
761
                        'action' => 'index'
762
                    ]
763
                ],
764
                'may_terminate' => true,
765
                'child_routes' => [
766
                    'delete' => [
767
                        'type' => Segment::class,
768
                        'options' => [
769
                            'route' => '/delete/:id',
770
                            'constraints' => [
771
                                'id' => '[A-Za-z0-9\-]+\=*'
772
                            ],
773
                            'defaults' => [
774
                                'controller' => '\LeadersLinked\Controller\FollowerController',
775
                                'action' => 'delete'
776
                            ]
777
                        ]
778
                    ],
1089 geraldo 779
                ],
780
            ],
781
            /*             * *** END FOLLOWERS *** */
782
 
783
            /*             * * START MICRO_LEARNING ** */
1 www 784
            'microlearning' => [
785
                'type' => Literal::class,
786
                'options' => [
787
                    'route' => '/microlearning',
788
                    'defaults' => [
789
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
790
                        'action' => 'index'
791
                    ]
792
                ],
793
                'may_terminate' => true,
794
                'child_routes' => [
795
                    'overview' => [
796
                        'type' => Literal::class,
797
                        'options' => [
798
                            'route' => '/overview',
799
                            'defaults' => [
800
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
801
                                'action' => 'overview'
802
                            ]
803
                        ],
1089 geraldo 804
                    ],
1 www 805
                    'reports' => [
806
                        'type' => Literal::class,
807
                        'options' => [
808
                            'route' => '/reports',
809
                            'defaults' => [
810
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
2 efrain 811
                                'action' => 'index'
1 www 812
                            ]
813
                        ],
2 efrain 814
                        'may_terminate' => true,
815
                        'child_routes' => [
816
                            'progress' => [
817
                                'type' => Literal::class,
818
                                'options' => [
819
                                    'route' => '/progress',
820
                                    'defaults' => [
821
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
822
                                        'action' => 'progress'
823
                                    ]
824
                                ]
825
                            ],
187 efrain 826
                            'comments-for-capsule' => [
827
                                'type' => Literal::class,
828
                                'options' => [
829
                                    'route' => '/comments-for-capsule',
830
                                    'defaults' => [
831
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
832
                                        'action' => 'commentsForCapsule'
833
                                    ]
834
                                ]
835
                            ],
2 efrain 836
                            'devices' => [
837
                                'type' => Literal::class,
838
                                'options' => [
839
                                    'route' => '/devices',
840
                                    'defaults' => [
841
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
842
                                        'action' => 'devices'
843
                                    ]
844
                                ]
845
                            ],
1089 geraldo 846
                        ]
847
                    ],
1 www 848
                    'content' => [
849
                        'type' => Literal::class,
850
                        'options' => [
851
                            'route' => '/content',
852
                            'defaults' => [
853
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
854
                                'action' => 'index'
855
                            ]
856
                        ],
857
                        'may_terminate' => true,
858
                        'child_routes' => [
66 efrain 859
                            'quizzes' => [
860
                                'type' => Segment::class,
861
                                'options' => [
862
                                    'route' => '/quizzes',
863
                                    'defaults' => [
864
                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
865
                                        'action' => 'index'
866
                                    ]
867
                                ],
868
                                'may_terminate' => true,
869
                                'child_routes' => [
870
                                    'add' => [
871
                                        'type' => Literal::class,
872
                                        'options' => [
873
                                            'route' => '/add',
874
                                            'defaults' => [
875
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
876
                                                'action' => 'add'
877
                                            ]
878
                                        ]
879
                                    ],
880
                                    'edit' => [
881
                                        'type' => Segment::class,
882
                                        'options' => [
883
                                            'route' => '/:quiz_id/edit',
884
                                            'constraints' => [
885
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
886
                                            ],
887
                                            'defaults' => [
888
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
889
                                                'action' => 'edit'
890
                                            ]
891
                                        ]
892
                                    ],
893
                                    'delete' => [
894
                                        'type' => Segment::class,
895
                                        'options' => [
896
                                            'route' => '/:quiz_id/delete',
897
                                            'constraints' => [
898
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
899
                                            ],
900
                                            'defaults' => [
901
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
902
                                                'action' => 'delete'
903
                                            ]
904
                                        ]
905
                                    ],
906
                                    'check' => [
907
                                        'type' => Segment::class,
908
                                        'options' => [
909
                                            'route' => '/:quiz_id/check',
910
                                            'constraints' => [
911
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
912
                                            ],
913
                                            'defaults' => [
914
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
915
                                                'action' => 'check'
916
                                            ]
917
                                        ]
918
                                    ],
919
                                    'publish' => [
920
                                        'type' => Segment::class,
921
                                        'options' => [
922
                                            'route' => '/:quiz_id/publish',
923
                                            'constraints' => [
924
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
925
                                            ],
926
                                            'defaults' => [
927
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
928
                                                'action' => 'publish'
929
                                            ]
930
                                        ]
931
                                    ],
932
                                    'copy' => [
933
                                        'type' => Segment::class,
934
                                        'options' => [
935
                                            'route' => '/:quiz_id/copy',
936
                                            'constraints' => [
937
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
938
                                            ],
939
                                            'defaults' => [
940
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
941
                                                'action' => 'copy'
942
                                            ]
943
                                        ]
944
                                    ],
945
                                    'questions' => [
946
                                        'type' => Segment::class,
947
                                        'options' => [
948
                                            'route' => '/:quiz_id/questions',
949
                                            'constraints' => [
950
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
951
                                            ],
952
                                            'defaults' => [
953
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
954
                                                'action' => 'index'
955
                                            ]
956
                                        ],
957
                                        'may_terminate' => true,
958
                                        'child_routes' => [
959
                                            'add' => [
960
                                                'type' => Literal::class,
961
                                                'options' => [
962
                                                    'route' => '/add',
963
                                                    'defaults' => [
964
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
965
                                                        'action' => 'add'
966
                                                    ]
967
                                                ]
968
                                            ],
969
                                            'edit' => [
970
                                                'type' => Segment::class,
971
                                                'options' => [
972
                                                    'route' => '/:question_id/edit',
973
                                                    'constraints' => [
974
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
975
                                                    ],
976
                                                    'defaults' => [
977
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
978
                                                        'action' => 'edit'
979
                                                    ]
980
                                                ]
981
                                            ],
982
                                            'delete' => [
983
                                                'type' => Segment::class,
984
                                                'options' => [
985
                                                    'route' => '/:question_id/delete',
986
                                                    'constraints' => [
987
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
988
                                                    ],
989
                                                    'defaults' => [
990
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
991
                                                        'action' => 'delete'
992
                                                    ]
993
                                                ]
994
                                            ],
995
                                            'answers' => [
996
                                                'type' => Segment::class,
997
                                                'options' => [
998
                                                    'route' => '/:question_id/answers',
999
                                                    'constraints' => [
1000
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1001
                                                    ],
1002
                                                    'defaults' => [
1003
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1004
                                                        'action' => 'index'
1005
                                                    ]
1006
                                                ],
1007
                                                'may_terminate' => true,
1008
                                                'child_routes' => [
1009
                                                    'add' => [
1010
                                                        'type' => Literal::class,
1011
                                                        'options' => [
1012
                                                            'route' => '/add',
1013
                                                            'defaults' => [
1014
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1015
                                                                'action' => 'add'
1016
                                                            ]
1017
                                                        ]
1018
                                                    ],
1019
                                                    'edit' => [
1020
                                                        'type' => Segment::class,
1021
                                                        'options' => [
1022
                                                            'route' => '/:answer_id/edit',
1023
                                                            'constraints' => [
1024
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1025
                                                            ],
1026
                                                            'defaults' => [
1027
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1028
                                                                'action' => 'edit'
1029
                                                            ]
1030
                                                        ]
1031
                                                    ],
1032
                                                    'delete' => [
1033
                                                        'type' => Segment::class,
1034
                                                        'options' => [
1035
                                                            'route' => '/:answer_id/delete',
1036
                                                            'constraints' => [
1037
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1038
                                                            ],
1039
                                                            'defaults' => [
1040
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1041
                                                                'action' => 'delete'
1042
                                                            ]
1043
                                                        ]
1044
                                                    ],
1045
                                                ]
1046
                                            ],
1047
                                        ]
1048
                                    ],
1049
                                ]
1089 geraldo 1050
                            ],
1 www 1051
                            'topics' => [
1052
                                'type' => Literal::class,
1053
                                'options' => [
1054
                                    'route' => '/topics',
1055
                                    'defaults' => [
1056
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1057
                                        'action' => 'index'
1058
                                    ]
1059
                                ],
1060
                                'may_terminate' => true,
1061
                                'child_routes' => [
1062
                                    'add' => [
1063
                                        'type' => Literal::class,
1064
                                        'options' => [
1065
                                            'route' => '/add',
1066
                                            'defaults' => [
1067
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1068
                                                'action' => 'add'
1069
                                            ]
1070
                                        ]
1071
                                    ],
1072
                                    'edit' => [
1073
                                        'type' => Segment::class,
1074
                                        'options' => [
1075
                                            'route' => '/edit/:id',
1076
                                            'constraints' => [
1077
                                                'id' => '[A-Za-z0-9\-]+\=*'
1078
                                            ],
1079
                                            'defaults' => [
1080
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1081
                                                'action' => 'edit'
1082
                                            ]
1083
                                        ]
1084
                                    ],
1085
                                    'delete' => [
1086
                                        'type' => Segment::class,
1087
                                        'options' => [
1088
                                            'route' => '/delete/:id',
1089
                                            'constraints' => [
1090
                                                'id' => '[A-Za-z0-9\-]+\=*'
1091
                                            ],
1092
                                            'defaults' => [
1093
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1094
                                                'action' => 'delete'
1095
                                            ]
1096
                                        ]
1097
                                    ]
1098
                                ]
1099
                            ],
1100
                            'capsules' => [
1101
                                'type' => Literal::class,
1102
                                'options' => [
1103
                                    'route' => '/capsules',
1104
                                    'defaults' => [
1105
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1106
                                        'action' => 'index'
1107
                                    ]
1108
                                ],
1109
                                'may_terminate' => true,
1110
                                'child_routes' => [
1111
                                    'add' => [
1112
                                        'type' => Segment::class,
1113
                                        'options' => [
1114
                                            'route' => '/add/topic/:topic_uuid',
1115
                                            'constraints' => [
1116
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1117
                                            ],
1118
                                            'defaults' => [
1119
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1120
                                                'action' => 'add'
1121
                                            ]
1122
                                        ]
1123
                                    ],
1124
                                    'edit' => [
1125
                                        'type' => Segment::class,
1126
                                        'options' => [
1127
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
1128
                                            'constraints' => [
1129
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1130
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1131
                                            ],
1132
                                            'defaults' => [
1133
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1134
                                                'action' => 'edit'
1135
                                            ]
1136
                                        ]
1137
                                    ],
1138
                                    'delete' => [
1139
                                        'type' => Segment::class,
1140
                                        'options' => [
1141
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
1142
                                            'constraints' => [
1143
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1144
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1145
                                            ],
1146
                                            'defaults' => [
1147
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1148
                                                'action' => 'delete'
1149
                                            ]
1150
                                        ]
1151
                                    ],
1152
                                    'users' => [
1153
                                        'type' => Segment::class,
1154
                                        'options' => [
1155
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
1156
                                            'constraints' => [
1157
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1158
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1159
                                                'type' => 'all|active',
1160
                                            ],
1161
                                            'defaults' => [
1162
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1163
                                                'action' => 'users'
1164
                                            ]
1165
                                        ]
1166
                                    ],
1167
                                ]
1168
                            ],
1169
                            'slides' => [
1170
                                'type' => Literal::class,
1171
                                'options' => [
1172
                                    'route' => '/slides',
1173
                                    'defaults' => [
1174
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1175
                                        'action' => 'index'
1176
                                    ]
1177
                                ],
1178
                                'may_terminate' => true,
1179
                                'child_routes' => [
1180
                                    'add' => [
1181
                                        'type' => Segment::class,
1182
                                        'options' => [
1183
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
1184
                                            'constraints' => [
1185
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1186
                                            ],
1187
                                            'defaults' => [
1188
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1189
                                                'action' => 'add'
1190
                                            ]
1191
                                        ]
1192
                                    ],
1193
                                    'edit' => [
1194
                                        'type' => Segment::class,
1195
                                        'options' => [
1196
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1197
                                            'constraints' => [
1198
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1199
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1200
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1201
                                            ],
1202
                                            'defaults' => [
1203
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1204
                                                'action' => 'edit'
1205
                                            ]
1206
                                        ]
1207
                                    ],
1208
                                    'delete' => [
1209
                                        'type' => Segment::class,
1210
                                        'options' => [
1211
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1212
                                            'constraints' => [
1213
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1214
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1215
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1216
                                            ],
1217
                                            'defaults' => [
1218
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1219
                                                'action' => 'delete'
1220
                                            ]
1221
                                        ]
1222
                                    ],
1223
                                    'text' => [
1224
                                        'type' => Segment::class,
1225
                                        'options' => [
1226
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1227
                                            'constraints' => [
1228
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1229
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1230
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1231
                                            ],
1232
                                            'defaults' => [
1233
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1234
                                                'action' => 'text'
1235
                                            ]
1236
                                        ]
1237
                                    ],
1238
                                ]
1239
                            ],
1089 geraldo 1240
                        ],
1241
                    ],
1 www 1242
                    'students' => [
1243
                        'type' => Literal::class,
1244
                        'options' => [
1245
                            'route' => '/students',
1246
                            'defaults' => [
1247
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1248
                                'action' => 'index'
1249
                            ]
1250
                        ],
1251
                        'may_terminate' => true,
1252
                        'child_routes' => [
1253
                            'edit' => [
1254
                                'type' => Segment::class,
1255
                                'options' => [
1256
                                    'route' => '/edit/:id',
1257
                                    'constraints' => [
1258
                                        'id' => '[A-Za-z0-9\-]+\=*',
1259
                                    ],
1260
                                    'defaults' => [
1261
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1262
                                        'action' => 'edit'
1263
                                    ]
1264
                                ]
1265
                            ],
1266
                            'timeline' => [
1267
                                'type' => Segment::class,
1268
                                'options' => [
1269
                                    'route' => '/timeline/:id',
1270
                                    'constraints' => [
1271
                                        'id' => '[A-Za-z0-9\-]+\=*',
1272
                                    ],
1273
                                    'defaults' => [
1274
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1275
                                        'action' => 'timeline'
1276
                                    ]
1277
                                ]
1278
                            ],
1279
                            'change-password' => [
1280
                                'type' => Segment::class,
1281
                                'options' => [
1282
                                    'route' => '/change-password/:id',
1283
                                    'constraints' => [
1284
                                        'id' => '[A-Za-z0-9\-]+\=*'
1285
                                    ],
1286
                                    'defaults' => [
1287
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1288
                                        'action' => 'change-password'
1289
                                    ]
1290
                                ]
1291
                            ],
1292
                            'unblock' => [
1293
                                'type' => Segment::class,
1294
                                'options' => [
1295
                                    'route' => '/unblock/:id',
1296
                                    'constraints' => [
1297
                                        'id' => '[A-Za-z0-9\-]+\=*'
1298
                                    ],
1299
                                    'defaults' => [
1300
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1301
                                        'action' => 'unblock'
1302
                                    ]
1303
                                ]
1304
                            ],
1089 geraldo 1305
                        ]
1306
                    ],
1 www 1307
                    'access-for-students' => [
1308
                        'type' => Literal::class,
1309
                        'options' => [
1310
                            'route' => '/access-for-students',
1311
                            'defaults' => [
1312
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1313
                                'action' => 'index'
1314
                            ]
1315
                        ],
1316
                        'may_terminate' => true,
1317
                        'child_routes' => [
1318
                            'revoke' => [
1319
                                'type' => Segment::class,
1320
                                'options' => [
1321
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1322
                                    'constraints' => [
1323
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1324
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1325
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1326
                                    ],
1327
                                    'defaults' => [
1328
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1329
                                        'action' => 'revoke'
1330
                                    ]
1331
                                ]
1332
                            ],
1333
                            'unlimit' => [
1334
                                'type' => Segment::class,
1335
                                'options' => [
1336
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1337
                                    'constraints' => [
1338
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1339
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1340
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1341
                                    ],
1342
                                    'defaults' => [
1343
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1344
                                        'action' => 'unlimit'
1345
                                    ]
1346
                                ]
1347
                            ],
1348
                            'upload' => [
1349
                                'type' => Segment::class,
1350
                                'options' => [
1351
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1352
                                    'constraints' => [
1353
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1354
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1355
                                    ],
1356
                                    'defaults' => [
1357
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1358
                                        'action' => 'upload'
1359
                                    ]
1360
                                ]
1361
                            ],
1362
                            'notification' => [
1363
                                'type' => Segment::class,
1364
                                'options' => [
1365
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1366
                                    'constraints' => [
1367
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1368
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1369
                                    ],
1370
                                    'defaults' => [
1371
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1372
                                        'action' => 'notification'
1373
                                    ]
1374
                                ]
1375
                            ],
1376
                        ],
1089 geraldo 1377
                    ],
1 www 1378
                    'settings' => [
1379
                        'type' => Literal::class,
1380
                        'options' => [
1381
                            'route' => '/settings',
1382
                            'defaults' => [
1383
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1384
                                'action' => 'index'
1385
                            ]
1386
                        ],
1387
                        'may_terminate' => true,
1388
                        'child_routes' => [
1389
                            'student-types' => [
1390
                                'type' => Literal::class,
1391
                                'options' => [
1392
                                    'route' => '/student-types',
1393
                                    'defaults' => [
1394
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1395
                                        'action' => 'index'
1396
                                    ]
1397
                                ],
1398
                                'may_terminate' => true,
1399
                                'child_routes' => [
1400
                                    'add' => [
1401
                                        'type' => Literal::class,
1402
                                        'options' => [
1403
                                            'route' => '/add',
1404
                                            'defaults' => [
1405
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1406
                                                'action' => 'add'
1407
                                            ]
1408
                                        ]
1409
                                    ],
1410
                                    'edit' => [
1411
                                        'type' => Segment::class,
1412
                                        'options' => [
1413
                                            'route' => '/edit/:id',
1414
                                            'constraints' => [
1415
                                                'id' => '[A-Za-z0-9\-]+\=*'
1416
                                            ],
1417
                                            'defaults' => [
1418
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1419
                                                'action' => 'edit'
1420
                                            ]
1421
                                        ]
1422
                                    ],
1423
                                    'delete' => [
1424
                                        'type' => Segment::class,
1425
                                        'options' => [
1426
                                            'route' => '/delete/:id',
1427
                                            'constraints' => [
1428
                                                'id' => '[A-Za-z0-9\-]+\=*'
1429
                                            ],
1430
                                            'defaults' => [
1431
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1432
                                                'action' => 'delete'
1433
                                            ]
1434
                                        ]
1435
                                    ]
1436
                                ]
1437
                            ],
1438
                            'functions' => [
1439
                                'type' => Literal::class,
1440
                                'options' => [
1441
                                    'route' => '/functions',
1442
                                    'defaults' => [
1443
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1444
                                        'action' => 'index'
1445
                                    ]
1446
                                ],
1447
                                'may_terminate' => true,
1448
                                'child_routes' => [
1449
                                    'add' => [
1450
                                        'type' => Literal::class,
1451
                                        'options' => [
1452
                                            'route' => '/add',
1453
                                            'defaults' => [
1454
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1455
                                                'action' => 'add'
1456
                                            ]
1457
                                        ]
1458
                                    ],
1459
                                    'edit' => [
1460
                                        'type' => Segment::class,
1461
                                        'options' => [
1462
                                            'route' => '/edit/:id',
1463
                                            'constraints' => [
1464
                                                'id' => '[A-Za-z0-9\-]+\=*'
1465
                                            ],
1466
                                            'defaults' => [
1467
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1468
                                                'action' => 'edit'
1469
                                            ]
1470
                                        ]
1471
                                    ],
1472
                                    'delete' => [
1473
                                        'type' => Segment::class,
1474
                                        'options' => [
1475
                                            'route' => '/delete/:id',
1476
                                            'constraints' => [
1477
                                                'id' => '[A-Za-z0-9\-]+\=*'
1478
                                            ],
1479
                                            'defaults' => [
1480
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1481
                                                'action' => 'delete'
1482
                                            ]
1483
                                        ]
1484
                                    ]
1485
                                ]
1486
                            ],
1487
                            'sectors' => [
1488
                                'type' => Literal::class,
1489
                                'options' => [
1490
                                    'route' => '/sectors',
1491
                                    'defaults' => [
1492
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1493
                                        'action' => 'index'
1494
                                    ]
1495
                                ],
1496
                                'may_terminate' => true,
1497
                                'child_routes' => [
1498
                                    'add' => [
1499
                                        'type' => Literal::class,
1500
                                        'options' => [
1501
                                            'route' => '/add',
1502
                                            'defaults' => [
1503
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1504
                                                'action' => 'add'
1505
                                            ]
1506
                                        ]
1507
                                    ],
1508
                                    'edit' => [
1509
                                        'type' => Segment::class,
1510
                                        'options' => [
1511
                                            'route' => '/edit/:id',
1512
                                            'constraints' => [
1513
                                                'id' => '[A-Za-z0-9\-]+\=*'
1514
                                            ],
1515
                                            'defaults' => [
1516
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1517
                                                'action' => 'edit'
1518
                                            ]
1519
                                        ]
1520
                                    ],
1521
                                    'delete' => [
1522
                                        'type' => Segment::class,
1523
                                        'options' => [
1524
                                            'route' => '/delete/:id',
1525
                                            'constraints' => [
1526
                                                'id' => '[A-Za-z0-9\-]+\=*'
1527
                                            ],
1528
                                            'defaults' => [
1529
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1530
                                                'action' => 'delete'
1531
                                            ]
1532
                                        ]
1533
                                    ]
1534
                                ]
1535
                            ],
1536
                            'programs' => [
1537
                                'type' => Literal::class,
1538
                                'options' => [
1539
                                    'route' => '/programs',
1540
                                    'defaults' => [
1541
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1542
                                        'action' => 'index'
1543
                                    ]
1544
                                ],
1545
                                'may_terminate' => true,
1546
                                'child_routes' => [
1547
                                    'add' => [
1548
                                        'type' => Literal::class,
1549
                                        'options' => [
1550
                                            'route' => '/add',
1551
                                            'defaults' => [
1552
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1553
                                                'action' => 'add'
1554
                                            ]
1555
                                        ]
1556
                                    ],
1557
                                    'edit' => [
1558
                                        'type' => Segment::class,
1559
                                        'options' => [
1560
                                            'route' => '/edit/:id',
1561
                                            'constraints' => [
1562
                                                'id' => '[A-Za-z0-9\-]+\=*'
1563
                                            ],
1564
                                            'defaults' => [
1565
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1566
                                                'action' => 'edit'
1567
                                            ]
1568
                                        ]
1569
                                    ],
1570
                                    'delete' => [
1571
                                        'type' => Segment::class,
1572
                                        'options' => [
1573
                                            'route' => '/delete/:id',
1574
                                            'constraints' => [
1575
                                                'id' => '[A-Za-z0-9\-]+\=*'
1576
                                            ],
1577
                                            'defaults' => [
1578
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1579
                                                'action' => 'delete'
1580
                                            ]
1581
                                        ]
1582
                                    ]
1583
                                ]
1584
                            ],
1585
                            'groups' => [
1586
                                'type' => Literal::class,
1587
                                'options' => [
1588
                                    'route' => '/groups',
1589
                                    'defaults' => [
1590
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1591
                                        'action' => 'index'
1592
                                    ]
1593
                                ],
1594
                                'may_terminate' => true,
1595
                                'child_routes' => [
1596
                                    'add' => [
1597
                                        'type' => Literal::class,
1598
                                        'options' => [
1599
                                            'route' => '/add',
1600
                                            'defaults' => [
1601
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1602
                                                'action' => 'add'
1603
                                            ]
1604
                                        ]
1605
                                    ],
1606
                                    'edit' => [
1607
                                        'type' => Segment::class,
1608
                                        'options' => [
1609
                                            'route' => '/edit/:id',
1610
                                            'constraints' => [
1611
                                                'id' => '[A-Za-z0-9\-]+\=*'
1612
                                            ],
1613
                                            'defaults' => [
1614
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1615
                                                'action' => 'edit'
1616
                                            ]
1617
                                        ]
1618
                                    ],
1619
                                    'delete' => [
1620
                                        'type' => Segment::class,
1621
                                        'options' => [
1622
                                            'route' => '/delete/:id',
1623
                                            'constraints' => [
1624
                                                'id' => '[A-Za-z0-9\-]+\=*'
1625
                                            ],
1626
                                            'defaults' => [
1627
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1628
                                                'action' => 'delete'
1629
                                            ]
1630
                                        ]
1631
                                    ]
1632
                                ]
1633
                            ],
1634
                            'companies' => [
1635
                                'type' => Literal::class,
1636
                                'options' => [
1637
                                    'route' => '/companies',
1638
                                    'defaults' => [
1639
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1640
                                        'action' => 'index'
1641
                                    ]
1642
                                ],
1643
                                'may_terminate' => true,
1644
                                'child_routes' => [
1645
                                    'add' => [
1646
                                        'type' => Literal::class,
1647
                                        'options' => [
1648
                                            'route' => '/add',
1649
                                            'defaults' => [
1650
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1651
                                                'action' => 'add'
1652
                                            ]
1653
                                        ]
1654
                                    ],
1655
                                    'edit' => [
1656
                                        'type' => Segment::class,
1657
                                        'options' => [
1658
                                            'route' => '/edit/:id',
1659
                                            'constraints' => [
1660
                                                'id' => '[A-Za-z0-9\-]+\=*'
1661
                                            ],
1662
                                            'defaults' => [
1663
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1664
                                                'action' => 'edit'
1665
                                            ]
1666
                                        ]
1667
                                    ],
1668
                                    'delete' => [
1669
                                        'type' => Segment::class,
1670
                                        'options' => [
1671
                                            'route' => '/delete/:id',
1672
                                            'constraints' => [
1673
                                                'id' => '[A-Za-z0-9\-]+\=*'
1674
                                            ],
1675
                                            'defaults' => [
1676
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1677
                                                'action' => 'delete'
1678
                                            ]
1679
                                        ]
1680
                                    ]
1681
                                ]
1682
                            ],
1683
                            'partners' => [
1684
                                'type' => Literal::class,
1685
                                'options' => [
1686
                                    'route' => '/partners',
1687
                                    'defaults' => [
1688
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1689
                                        'action' => 'index'
1690
                                    ]
1691
                                ],
1692
                                'may_terminate' => true,
1693
                                'child_routes' => [
1694
                                    'add' => [
1695
                                        'type' => Literal::class,
1696
                                        'options' => [
1697
                                            'route' => '/add',
1698
                                            'defaults' => [
1699
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1700
                                                'action' => 'add'
1701
                                            ]
1702
                                        ]
1703
                                    ],
1704
                                    'edit' => [
1705
                                        'type' => Segment::class,
1706
                                        'options' => [
1707
                                            'route' => '/edit/:id',
1708
                                            'constraints' => [
1709
                                                'id' => '[A-Za-z0-9\-]+\=*'
1710
                                            ],
1711
                                            'defaults' => [
1712
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1713
                                                'action' => 'edit'
1714
                                            ]
1715
                                        ]
1716
                                    ],
1717
                                    'delete' => [
1718
                                        'type' => Segment::class,
1719
                                        'options' => [
1720
                                            'route' => '/delete/:id',
1721
                                            'constraints' => [
1722
                                                'id' => '[A-Za-z0-9\-]+\=*'
1723
                                            ],
1724
                                            'defaults' => [
1725
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1726
                                                'action' => 'delete'
1727
                                            ]
1728
                                        ]
1729
                                    ]
1730
                                ]
1731
                            ],
1732
                            'institutions' => [
1733
                                'type' => Literal::class,
1734
                                'options' => [
1735
                                    'route' => '/institutions',
1736
                                    'defaults' => [
1737
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1738
                                        'action' => 'index'
1739
                                    ]
1740
                                ],
1741
                                'may_terminate' => true,
1742
                                'child_routes' => [
1743
                                    'add' => [
1744
                                        'type' => Literal::class,
1745
                                        'options' => [
1746
                                            'route' => '/add',
1747
                                            'defaults' => [
1748
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1749
                                                'action' => 'add'
1750
                                            ]
1751
                                        ]
1752
                                    ],
1753
                                    'edit' => [
1754
                                        'type' => Segment::class,
1755
                                        'options' => [
1756
                                            'route' => '/edit/:id',
1757
                                            'constraints' => [
1758
                                                'id' => '[A-Za-z0-9\-]+\=*'
1759
                                            ],
1760
                                            'defaults' => [
1761
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1762
                                                'action' => 'edit'
1763
                                            ]
1764
                                        ]
1765
                                    ],
1766
                                    'delete' => [
1767
                                        'type' => Segment::class,
1768
                                        'options' => [
1769
                                            'route' => '/delete/:id',
1770
                                            'constraints' => [
1771
                                                'id' => '[A-Za-z0-9\-]+\=*'
1772
                                            ],
1773
                                            'defaults' => [
1774
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1775
                                                'action' => 'delete'
1776
                                            ]
1777
                                        ]
1778
                                    ]
1779
                                ]
1780
                            ],
1781
                        ]
1089 geraldo 1782
                    ],
1 www 1783
                ],
1089 geraldo 1784
            ],
1785
            /*             * * START PUBLICATIONS ** */
1 www 1786
            'publications' => [
1787
                'type' => Literal::class,
1788
                'options' => [
1789
                    'route' => '/publications',
1790
                    'defaults' => [
1791
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1792
                        'action' => 'index'
1793
                    ]
1794
                ],
1795
                'may_terminate' => true,
1796
                'child_routes' => [
1797
                    'pages' => [
1798
                        'type' => Literal::class,
1799
                        'options' => [
1800
                            'route' => '/pages',
1801
                            'defaults' => [
1802
                                'controller' => '\LeadersLinked\Controller\PageController',
1803
                                'action' => 'index'
1804
                            ]
1805
                        ],
1806
                        'may_terminate' => true,
1807
                        'child_routes' => [
1808
                            'add' => [
1809
                                'type' => Literal::class,
1810
                                'options' => [
1811
                                    'route' => '/add',
1812
                                    'defaults' => [
1813
                                        'controller' => '\LeadersLinked\Controller\PageController',
1814
                                        'action' => 'add'
1815
                                    ]
1816
                                ]
1817
                            ],
1818
                            'edit' => [
1819
                                'type' => Segment::class,
1820
                                'options' => [
1821
                                    'route' => '/edit/:id',
1822
                                    'constraints' => [
1823
                                        'id' => '[A-Za-z0-9\-]+\=*'
1824
                                    ],
1825
                                    'defaults' => [
1826
                                        'controller' => '\LeadersLinked\Controller\PageController',
1827
                                        'action' => 'edit'
1828
                                    ]
1829
                                ]
1830
                            ],
1831
                            'delete' => [
1832
                                'type' => Segment::class,
1833
                                'options' => [
1834
                                    'route' => '/delete/:id',
1835
                                    'constraints' => [
1836
                                        'id' => '[A-Za-z0-9\-]+\=*'
1837
                                    ],
1838
                                    'defaults' => [
1839
                                        'controller' => '\LeadersLinked\Controller\PageController',
1840
                                        'action' => 'delete'
1841
                                    ]
1842
                                ]
1843
                            ]
1844
                        ]
1845
                    ],
1846
                    'posts' => [
1847
                        'type' => Literal::class,
1848
                        'options' => [
1849
                            'route' => '/posts',
1850
                            'defaults' => [
1851
                                'controller' => '\LeadersLinked\Controller\PostController',
1852
                                'action' => 'index'
1853
                            ]
1854
                        ],
1855
                        'may_terminate' => true,
1856
                        'child_routes' => [
1857
                            'add' => [
1858
                                'type' => Literal::class,
1859
                                'options' => [
1860
                                    'route' => '/add',
1861
                                    'defaults' => [
1862
                                        'controller' => '\LeadersLinked\Controller\PostController',
1863
                                        'action' => 'add'
1864
                                    ]
1865
                                ]
1866
                            ],
1867
                            'edit' => [
1868
                                'type' => Segment::class,
1869
                                'options' => [
1870
                                    'route' => '/edit/:id',
1871
                                    'constraints' => [
1872
                                        'id' => '[A-Za-z0-9\-]+\=*'
1873
                                    ],
1874
                                    'defaults' => [
1875
                                        'controller' => '\LeadersLinked\Controller\PostController',
1876
                                        'action' => 'edit'
1877
                                    ]
1878
                                ]
1879
                            ],
1880
                            'delete' => [
1881
                                'type' => Segment::class,
1882
                                'options' => [
1883
                                    'route' => '/delete/:id',
1884
                                    'constraints' => [
1885
                                        'id' => '[A-Za-z0-9\-]+\=*'
1886
                                    ],
1887
                                    'defaults' => [
1888
                                        'controller' => '\LeadersLinked\Controller\PostController',
1889
                                        'action' => 'delete'
1890
                                    ]
1891
                                ]
1892
                            ]
1893
                        ]
1894
                    ],
1895
                ]
1089 geraldo 1896
            ],
1897
            /*             * * START SELF EVALUATION ** */
114 efrain 1898
            'self-evaluation' => [
1899
                'type' => Literal::class,
1900
                'options' => [
1901
                    'route' => '/self-evaluation',
1902
                    'defaults' => [
115 efrain 1903
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
114 efrain 1904
                        'action' => 'index'
1905
                    ]
1906
                ],
1907
                'may_terminate' => true,
1908
                'child_routes' => [
1909
                    'forms' => [
1910
                        'type' => Literal::class,
1911
                        'options' => [
1912
                            'route' => '/forms',
1913
                            'defaults' => [
115 efrain 1914
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1915
                                'action' => 'index'
1916
                            ]
1917
                        ],
1918
                        'may_terminate' => true,
1919
                        'child_routes' => [
1920
                            'add' => [
1921
                                'type' => Literal::class,
1922
                                'options' => [
1923
                                    'route' => '/add',
1924
                                    'defaults' => [
115 efrain 1925
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1926
                                        'action' => 'add'
1927
                                    ]
1928
                                ]
1929
                            ],
1930
                            'edit' => [
1931
                                'type' => Segment::class,
1932
                                'options' => [
1933
                                    'route' => '/edit/:id',
1934
                                    'constraints' => [
1935
                                        'id' => '[A-Za-z0-9\-]+\=*'
1936
                                    ],
1937
                                    'defaults' => [
115 efrain 1938
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1939
                                        'action' => 'edit'
1940
                                    ]
1941
                                ]
1942
                            ],
1943
                            'delete' => [
1944
                                'type' => Segment::class,
1945
                                'options' => [
1946
                                    'route' => '/delete/:id',
1947
                                    'constraints' => [
1948
                                        'id' => '[A-Za-z0-9\-]+\=*'
1949
                                    ],
1950
                                    'defaults' => [
115 efrain 1951
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1952
                                        'action' => 'delete'
1953
                                    ]
1954
                                ]
1955
                            ]
1956
                        ]
1957
                    ],
115 efrain 1958
                    'users' => [
1959
                        'type' => Literal::class,
1960
                        'options' => [
1961
                            'route' => '/users',
1962
                            'defaults' => [
1963
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
1964
                                'action' => 'index'
1965
                            ]
1966
                        ],
1967
                        'may_terminate' => true,
1968
                        'child_routes' => [
1969
                            'add' => [
1970
                                'type' => Segment::class,
1971
                                'options' => [
1972
                                    'route' => '/add/:form_id/:user_id',
1973
                                    'constraints' => [
1974
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
1975
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1976
                                    ],
1977
                                    'defaults' => [
1978
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
1979
                                        'action' => 'add'
1980
                                    ]
1981
                                ]
1982
                            ],
1983
                            'delete' => [
1984
                                'type' => Segment::class,
1985
                                'options' => [
1986
                                    'route' => '/delete/:form_id/:user_id',
1987
                                    'constraints' => [
1988
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
1989
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1990
                                    ],
1991
                                    'defaults' => [
1992
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
1993
                                        'action' => 'delete'
1994
                                    ]
1995
                                ]
1996
                            ]
1997
                        ]
1998
                    ],
114 efrain 1999
                    'reviews' => [
2000
                        'type' => Literal::class,
2001
                        'options' => [
2002
                            'route' => '/reviews',
2003
                            'defaults' => [
115 efrain 2004
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
114 efrain 2005
                                'action' => 'index'
2006
                            ]
2007
                        ],
2008
                        'may_terminate' => true,
2009
                        'child_routes' => [
2010
                            'edit' => [
2011
                                'type' => Segment::class,
2012
                                'options' => [
2013
                                    'route' => '/edit/:id',
2014
                                    'constraints' => [
2015
                                        'id' => '[A-Za-z0-9\-]+\=*'
2016
                                    ],
2017
                                    'defaults' => [
115 efrain 2018
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
486 geraldo 2019
                                        'action' => 'edit'
114 efrain 2020
                                    ]
2021
                                ]
2022
                            ],
469 geraldo 2023
                            'report' => [
2024
                                'type' => Segment::class,
2025
                                'options' => [
2026
                                    'route' => '/report/:id',
2027
                                    'constraints' => [
2028
                                        'id' => '[A-Za-z0-9\-]+\=*'
2029
                                    ],
2030
                                    'defaults' => [
2031
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
487 geraldo 2032
                                        'action' => 'report'
469 geraldo 2033
                                    ]
2034
                                ]
2035
                            ],
114 efrain 2036
                        ]
2037
                    ],
2038
                ]
1089 geraldo 2039
            ],
2040
            /*             * * END SELF EVALUATION ** */
946 geraldo 2041
 
1089 geraldo 2042
            /*             * * START PERFOMANCE EVALUATION ** */
946 geraldo 2043
            'performance-evaluation' => [
2044
                'type' => Literal::class,
2045
                'options' => [
2046
                    'route' => '/performance-evaluation',
2047
                    'defaults' => [
980 geraldo 2048
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
946 geraldo 2049
                        'action' => 'index'
2050
                    ]
2051
                ],
2052
                'may_terminate' => true,
2053
                'child_routes' => [
2054
                    'forms' => [
2055
                        'type' => Literal::class,
2056
                        'options' => [
2057
                            'route' => '/forms',
2058
                            'defaults' => [
977 geraldo 2059
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2060
                                'action' => 'index'
2061
                            ]
2062
                        ],
2063
                        'may_terminate' => true,
2064
                        'child_routes' => [
2065
                            'add' => [
2066
                                'type' => Literal::class,
2067
                                'options' => [
2068
                                    'route' => '/add',
2069
                                    'defaults' => [
977 geraldo 2070
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2071
                                        'action' => 'add'
2072
                                    ]
2073
                                ]
2074
                            ],
2075
                            'edit' => [
2076
                                'type' => Segment::class,
2077
                                'options' => [
2078
                                    'route' => '/edit/:id',
2079
                                    'constraints' => [
2080
                                        'id' => '[A-Za-z0-9\-]+\=*'
2081
                                    ],
2082
                                    'defaults' => [
986 geraldo 2083
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2084
                                        'action' => 'edit'
2085
                                    ]
2086
                                ]
2087
                            ],
2088
                            'delete' => [
2089
                                'type' => Segment::class,
2090
                                'options' => [
2091
                                    'route' => '/delete/:id',
2092
                                    'constraints' => [
2093
                                        'id' => '[A-Za-z0-9\-]+\=*'
2094
                                    ],
2095
                                    'defaults' => [
986 geraldo 2096
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2097
                                        'action' => 'delete'
2098
                                    ]
2099
                                ]
1263 geraldo 2100
                                    ],
2101
                            'report' => [
2102
                                'type' => Segment::class,
2103
                                'options' => [
2104
                                    'route' => '/report/:id',
2105
                                    'constraints' => [
2106
                                        'id' => '[A-Za-z0-9\-]+\=*'
2107
                                    ],
2108
                                    'defaults' => [
2109
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2110
                                        'action' => 'report'
2111
                                    ]
2112
                                ]
2113
                            ],
946 geraldo 2114
                        ]
2115
                    ],
2116
                    'users' => [
2117
                        'type' => Literal::class,
2118
                        'options' => [
2119
                            'route' => '/users',
2120
                            'defaults' => [
986 geraldo 2121
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
946 geraldo 2122
                                'action' => 'index'
2123
                            ]
2124
                        ],
2125
                        'may_terminate' => true,
2126
                        'child_routes' => [
1320 efrain 2127
                            'supervisors' => [
2128
                                'type' => Literal::class,
946 geraldo 2129
                                'options' => [
1320 efrain 2130
                                    'route' => 'supervisors',
946 geraldo 2131
                                    'defaults' => [
1320 efrain 2132
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2133
                                        'action' => 'index'
946 geraldo 2134
                                    ]
1320 efrain 2135
                                ],
2136
                                'may_terminate' => true,
2137
                                'child_routes' => [
2138
                                    'add' => [
2139
                                        'type' => Segment::class,
2140
                                        'options' => [
2141
                                            'route' => '/add/:form_id/:user_id',
2142
                                            'constraints' => [
2143
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2144
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2145
                                            ],
2146
                                            'defaults' => [
2147
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2148
                                                'action' => 'add'
2149
                                            ]
2150
                                        ]
2151
                                    ],
2152
                                    'delete' => [
2153
                                        'type' => Segment::class,
2154
                                        'options' => [
2155
                                            'route' => '/delete/:form_id/:user_id',
2156
                                            'constraints' => [
2157
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2158
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2159
                                            ],
2160
                                            'defaults' => [
2161
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2162
                                                'action' => 'delete'
2163
                                            ]
2164
                                        ]
2165
                                    ]
946 geraldo 2166
                                ]
1320 efrain 2167
                            ],
2168
                            'employees' => [
2169
                                'type' => Literal::class,
946 geraldo 2170
                                'options' => [
1320 efrain 2171
                                    'route' => 'employees',
946 geraldo 2172
                                    'defaults' => [
1320 efrain 2173
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2174
                                        'action' => 'index'
946 geraldo 2175
                                    ]
1320 efrain 2176
                                ],
2177
                                'may_terminate' => true,
2178
                                'child_routes' => [
2179
                                    'add' => [
2180
                                        'type' => Segment::class,
2181
                                        'options' => [
2182
                                            'route' => '/add/:form_id/:supervisor_id/:employee_id',
2183
                                            'constraints' => [
2184
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2185
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
2186
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
2187
                                            ],
2188
                                            'defaults' => [
2189
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2190
                                                'action' => 'add'
2191
                                            ]
2192
                                        ]
2193
                                    ],
2194
                                    'delete' => [
2195
                                        'type' => Segment::class,
2196
                                        'options' => [
2197
                                            'route' => '/delete/:form_id/:supervisor_id/:employee_id',
2198
                                            'constraints' => [
2199
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2200
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
2201
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
2202
                                            ],
2203
                                            'defaults' => [
2204
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2205
                                                'action' => 'delete'
2206
                                            ]
2207
                                        ]
2208
                                    ]
946 geraldo 2209
                                ]
1320 efrain 2210
                            ],
2211
 
946 geraldo 2212
                        ]
2213
                    ],
2214
                ]
1089 geraldo 2215
            ],
2216
            /*             * * END PERFORMANCE EVALUATION ** */
2217
 
2218
            /*             * * START SETTINGS ** */
1 www 2219
            'settings' => [
2220
                'type' => Literal::class,
2221
                'options' => [
2222
                    'route' => '/settings',
2223
                    'defaults' => [
2224
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2225
                        'action' => 'index'
2226
                    ]
2227
                ],
2228
                'may_terminate' => true,
2229
                'child_routes' => [
2230
                    'company-sizes' => [
2231
                        'type' => Literal::class,
2232
                        'options' => [
2233
                            'route' => '/company-sizes',
2234
                            'defaults' => [
2235
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2236
                                'action' => 'index'
2237
                            ]
2238
                        ],
2239
                        'may_terminate' => true,
2240
                        'child_routes' => [
2241
                            'add' => [
2242
                                'type' => Literal::class,
2243
                                'options' => [
2244
                                    'route' => '/add',
2245
                                    'defaults' => [
2246
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2247
                                        'action' => 'add'
2248
                                    ]
2249
                                ]
2250
                            ],
2251
                            'edit' => [
2252
                                'type' => Segment::class,
2253
                                'options' => [
2254
                                    'route' => '/edit/:id',
2255
                                    'constraints' => [
2256
                                        'id' => '[A-Za-z0-9\-]+\=*'
2257
                                    ],
2258
                                    'defaults' => [
2259
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2260
                                        'action' => 'edit'
2261
                                    ]
2262
                                ]
2263
                            ],
2264
                            'delete' => [
2265
                                'type' => Segment::class,
2266
                                'options' => [
2267
                                    'route' => '/delete/:id',
2268
                                    'constraints' => [
2269
                                        'id' => '[A-Za-z0-9\-]+\=*'
2270
                                    ],
2271
                                    'defaults' => [
2272
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2273
                                        'action' => 'delete'
2274
                                    ]
2275
                                ]
2276
                            ]
2277
                        ]
2278
                    ],
2279
                    'competency-types' => [
2280
                        'type' => Literal::class,
2281
                        'options' => [
2282
                            'route' => '/competency-types',
2283
                            'defaults' => [
2284
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2285
                                'action' => 'index'
2286
                            ]
2287
                        ],
2288
                        'may_terminate' => true,
2289
                        'child_routes' => [
2290
                            'add' => [
2291
                                'type' => Literal::class,
2292
                                'options' => [
2293
                                    'route' => '/add',
2294
                                    'defaults' => [
2295
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2296
                                        'action' => 'add'
2297
                                    ]
2298
                                ]
2299
                            ],
2300
                            'edit' => [
2301
                                'type' => Segment::class,
2302
                                'options' => [
2303
                                    'route' => '/edit/:id',
2304
                                    'constraints' => [
2305
                                        'id' => '[A-Za-z0-9\-]+\=*'
2306
                                    ],
2307
                                    'defaults' => [
2308
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2309
                                        'action' => 'edit'
2310
                                    ]
2311
                                ]
2312
                            ],
2313
                            'delete' => [
2314
                                'type' => Segment::class,
2315
                                'options' => [
2316
                                    'route' => '/delete/:id',
2317
                                    'constraints' => [
2318
                                        'id' => '[A-Za-z0-9\-]+\=*'
2319
                                    ],
2320
                                    'defaults' => [
2321
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2322
                                        'action' => 'delete'
2323
                                    ]
2324
                                ]
28 efrain 2325
                            ],
2326
                            'import' => [
2327
                                'type' => Literal::class,
2328
                                'options' => [
2329
                                    'route' => '/import',
2330
                                    'defaults' => [
2331
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2332
                                        'action' => 'import'
2333
                                    ]
2334
                                ]
2335
                            ],
1 www 2336
                        ]
2337
                    ],
1104 geraldo 2338
                    'behaviors' => [
2339
                        'type' => Literal::class,
2340
                        'options' => [
2341
                            'route' => '/behaviors',
2342
                            'defaults' => [
2343
                                'controller' => '\LeadersLinked\Controller\BehaviorsController',
2344
                                'action' => 'index'
2345
                            ]
2346
                        ],
2347
                        'may_terminate' => true,
2348
                        'child_routes' => [
2349
                            'add' => [
2350
                                'type' => Literal::class,
2351
                                'options' => [
2352
                                    'route' => '/add',
2353
                                    'defaults' => [
2354
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2355
                                        'action' => 'add'
2356
                                    ]
2357
                                ]
1115 geraldo 2358
                            ],
2359
                            'edit' => [
2360
                                'type' => Segment::class,
2361
                                'options' => [
2362
                                    'route' => '/edit/:id',
2363
                                    'constraints' => [
2364
                                        'id' => '[A-Za-z0-9\-]+\=*'
2365
                                    ],
2366
                                    'defaults' => [
2367
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2368
                                        'action' => 'edit'
2369
                                    ]
2370
                                ]
2371
                            ],
1104 geraldo 2372
                        ]
2373
                    ],
1 www 2374
                    'competencies' => [
2375
                        'type' => Literal::class,
2376
                        'options' => [
2377
                            'route' => '/competencies',
2378
                            'defaults' => [
2379
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2380
                                'action' => 'index'
2381
                            ]
2382
                        ],
2383
                        'may_terminate' => true,
2384
                        'child_routes' => [
2385
                            'add' => [
2386
                                'type' => Literal::class,
2387
                                'options' => [
2388
                                    'route' => '/add',
2389
                                    'defaults' => [
2390
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2391
                                        'action' => 'add'
2392
                                    ]
2393
                                ]
2394
                            ],
2395
                            'edit' => [
2396
                                'type' => Segment::class,
2397
                                'options' => [
2398
                                    'route' => '/edit/:id',
2399
                                    'constraints' => [
2400
                                        'id' => '[A-Za-z0-9\-]+\=*'
2401
                                    ],
2402
                                    'defaults' => [
2403
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2404
                                        'action' => 'edit'
2405
                                    ]
2406
                                ]
2407
                            ],
2408
                            'delete' => [
2409
                                'type' => Segment::class,
2410
                                'options' => [
2411
                                    'route' => '/delete/:id',
2412
                                    'constraints' => [
2413
                                        'id' => '[A-Za-z0-9\-]+\=*'
2414
                                    ],
2415
                                    'defaults' => [
2416
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2417
                                        'action' => 'delete'
2418
                                    ]
2419
                                ]
28 efrain 2420
                            ],
2421
                            'import' => [
2422
                                'type' => Literal::class,
2423
                                'options' => [
2424
                                    'route' => '/import',
2425
                                    'defaults' => [
2426
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2427
                                        'action' => 'import'
2428
                                    ]
2429
                                ]
2430
                            ],
1 www 2431
                        ]
2432
                    ],
2433
                    'degrees' => [
2434
                        'type' => Literal::class,
2435
                        'options' => [
2436
                            'route' => '/degrees',
2437
                            'defaults' => [
2438
                                'controller' => '\LeadersLinked\Controller\DegreeController',
2439
                                'action' => 'index'
2440
                            ]
2441
                        ],
2442
                        'may_terminate' => true,
2443
                        'child_routes' => [
2444
                            'add' => [
2445
                                'type' => Literal::class,
2446
                                'options' => [
2447
                                    'route' => '/add',
2448
                                    'defaults' => [
2449
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2450
                                        'action' => 'add'
2451
                                    ]
2452
                                ]
2453
                            ],
2454
                            'edit' => [
2455
                                'type' => Segment::class,
2456
                                'options' => [
2457
                                    'route' => '/edit/:id',
2458
                                    'constraints' => [
2459
                                        'id' => '[A-Za-z0-9\-]+\=*'
2460
                                    ],
2461
                                    'defaults' => [
2462
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2463
                                        'action' => 'edit'
2464
                                    ]
2465
                                ]
2466
                            ],
2467
                            'delete' => [
2468
                                'type' => Segment::class,
2469
                                'options' => [
2470
                                    'route' => '/delete/:id',
2471
                                    'constraints' => [
2472
                                        'id' => '[A-Za-z0-9\-]+\=*'
2473
                                    ],
2474
                                    'defaults' => [
2475
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2476
                                        'action' => 'delete'
2477
                                    ]
2478
                                ]
2479
                            ]
2480
                        ]
2481
                    ],
2482
                    'group-types' => [
2483
                        'type' => Literal::class,
2484
                        'options' => [
2485
                            'route' => '/competency-types',
2486
                            'defaults' => [
2487
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2488
                                'action' => 'index'
2489
                            ]
2490
                        ],
2491
                        'may_terminate' => true,
2492
                        'child_routes' => [
2493
                            'add' => [
2494
                                'type' => Literal::class,
2495
                                'options' => [
2496
                                    'route' => '/add',
2497
                                    'defaults' => [
2498
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2499
                                        'action' => 'add'
2500
                                    ]
2501
                                ]
2502
                            ],
2503
                            'edit' => [
2504
                                'type' => Segment::class,
2505
                                'options' => [
2506
                                    'route' => '/edit/:id',
2507
                                    'constraints' => [
2508
                                        'id' => '[A-Za-z0-9\-]+\=*'
2509
                                    ],
2510
                                    'defaults' => [
2511
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2512
                                        'action' => 'edit'
2513
                                    ]
2514
                                ]
2515
                            ],
2516
                            'delete' => [
2517
                                'type' => Segment::class,
2518
                                'options' => [
2519
                                    'route' => '/delete/:id',
2520
                                    'constraints' => [
2521
                                        'id' => '[A-Za-z0-9\-]+\=*'
2522
                                    ],
2523
                                    'defaults' => [
2524
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2525
                                        'action' => 'delete'
2526
                                    ]
2527
                                ]
2528
                            ]
2529
                        ]
2530
                    ],
2531
                    'industries' => [
2532
                        'type' => Literal::class,
2533
                        'options' => [
2534
                            'route' => '/industries',
2535
                            'defaults' => [
2536
                                'controller' => '\LeadersLinked\Controller\IndustryController',
2537
                                'action' => 'index'
2538
                            ]
2539
                        ],
2540
                        'may_terminate' => true,
2541
                        'child_routes' => [
2542
                            'add' => [
2543
                                'type' => Literal::class,
2544
                                'options' => [
2545
                                    'route' => '/add',
2546
                                    'defaults' => [
2547
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2548
                                        'action' => 'add'
2549
                                    ]
2550
                                ]
2551
                            ],
2552
                            'edit' => [
2553
                                'type' => Segment::class,
2554
                                'options' => [
2555
                                    'route' => '/edit/:id',
2556
                                    'constraints' => [
2557
                                        'id' => '[A-Za-z0-9\-]+\=*'
2558
                                    ],
2559
                                    'defaults' => [
2560
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2561
                                        'action' => 'edit'
2562
                                    ]
2563
                                ]
2564
                            ],
2565
                            'delete' => [
2566
                                'type' => Segment::class,
2567
                                'options' => [
2568
                                    'route' => '/delete/:id',
2569
                                    'constraints' => [
2570
                                        'id' => '[A-Za-z0-9\-]+\=*'
2571
                                    ],
2572
                                    'defaults' => [
2573
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2574
                                        'action' => 'delete'
2575
                                    ]
2576
                                ]
2577
                            ]
2578
                        ]
2579
                    ],
2580
                    'group-types' => [
2581
                        'type' => Literal::class,
2582
                        'options' => [
2583
                            'route' => '/group-types',
2584
                            'defaults' => [
2585
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2586
                                'action' => 'index'
2587
                            ]
2588
                        ],
2589
                        'may_terminate' => true,
2590
                        'child_routes' => [
2591
                            'add' => [
2592
                                'type' => Literal::class,
2593
                                'options' => [
2594
                                    'route' => '/add',
2595
                                    'defaults' => [
2596
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2597
                                        'action' => 'add'
2598
                                    ]
2599
                                ]
2600
                            ],
2601
                            'edit' => [
2602
                                'type' => Segment::class,
2603
                                'options' => [
2604
                                    'route' => '/edit/:id',
2605
                                    'constraints' => [
2606
                                        'id' => '[A-Za-z0-9\-]+\=*'
2607
                                    ],
2608
                                    'defaults' => [
2609
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2610
                                        'action' => 'edit'
2611
                                    ]
2612
                                ]
2613
                            ],
2614
                            'delete' => [
2615
                                'type' => Segment::class,
2616
                                'options' => [
2617
                                    'route' => '/delete/:id',
2618
                                    'constraints' => [
2619
                                        'id' => '[A-Za-z0-9\-]+\=*'
2620
                                    ],
2621
                                    'defaults' => [
2622
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2623
                                        'action' => 'delete'
2624
                                    ]
2625
                                ]
2626
                            ]
2627
                        ]
2628
                    ],
2629
                    'job-categories' => [
2630
                        'type' => Literal::class,
2631
                        'options' => [
2632
                            'route' => '/job-categories',
2633
                            'defaults' => [
2634
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2635
                                'action' => 'index'
2636
                            ]
2637
                        ],
2638
                        'may_terminate' => true,
2639
                        'child_routes' => [
2640
                            'add' => [
2641
                                'type' => Literal::class,
2642
                                'options' => [
2643
                                    'route' => '/add',
2644
                                    'defaults' => [
2645
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2646
                                        'action' => 'add'
2647
                                    ]
2648
                                ]
2649
                            ],
2650
                            'edit' => [
2651
                                'type' => Segment::class,
2652
                                'options' => [
2653
                                    'route' => '/edit/:id',
2654
                                    'constraints' => [
2655
                                        'id' => '[A-Za-z0-9\-]+\=*'
2656
                                    ],
2657
                                    'defaults' => [
2658
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2659
                                        'action' => 'edit'
2660
                                    ]
2661
                                ]
2662
                            ],
2663
                            'delete' => [
2664
                                'type' => Segment::class,
2665
                                'options' => [
2666
                                    'route' => '/delete/:id',
2667
                                    'constraints' => [
2668
                                        'id' => '[A-Za-z0-9\-]+\=*'
2669
                                    ],
2670
                                    'defaults' => [
2671
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2672
                                        'action' => 'delete'
2673
                                    ]
2674
                                ]
2675
                            ]
2676
                        ]
2677
                    ],
28 efrain 2678
                    'jobs-description' => [
2679
                        'type' => Literal::class,
2680
                        'options' => [
2681
                            'route' => '/jobs-description',
2682
                            'defaults' => [
2683
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2684
                                'action' => 'index'
2685
                            ]
2686
                        ],
2687
                        'may_terminate' => true,
2688
                        'child_routes' => [
2689
                            'add' => [
2690
                                'type' => Literal::class,
2691
                                'options' => [
2692
                                    'route' => '/add',
2693
                                    'defaults' => [
2694
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2695
                                        'action' => 'add'
2696
                                    ]
2697
                                ]
2698
                            ],
2699
                            'edit' => [
2700
                                'type' => Segment::class,
2701
                                'options' => [
2702
                                    'route' => '/edit/:id',
2703
                                    'constraints' => [
2704
                                        'id' => '[A-Za-z0-9\-]+\=*'
2705
                                    ],
2706
                                    'defaults' => [
2707
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2708
                                        'action' => 'edit'
2709
                                    ]
2710
                                ]
2711
                            ],
2712
                            'delete' => [
2713
                                'type' => Segment::class,
2714
                                'options' => [
2715
                                    'route' => '/delete/:id',
2716
                                    'constraints' => [
2717
                                        'id' => '[A-Za-z0-9\-]+\=*'
2718
                                    ],
2719
                                    'defaults' => [
2720
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2721
                                        'action' => 'delete'
2722
                                    ]
2723
                                ]
559 geraldo 2724
                            ],
2725
                            'report' => [
2726
                                'type' => Segment::class,
2727
                                'options' => [
2728
                                    'route' => '/report/:id',
2729
                                    'constraints' => [
2730
                                        'id' => '[A-Za-z0-9\-]+\=*'
2731
                                    ],
2732
                                    'defaults' => [
2733
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2734
                                        'action' => 'report'
2735
                                    ]
2736
                                ]
2737
                            ],
846 geraldo 2738
                            'import' => [
2739
                                'type' => Literal::class,
2740
                                'options' => [
2741
                                    'route' => '/import',
2742
                                    'defaults' => [
2743
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2744
                                        'action' => 'import'
2745
                                    ]
2746
                                ]
2747
                            ],
28 efrain 2748
                        ]
2749
                    ],
1 www 2750
                    'email-templates' => [
2751
                        'type' => Literal::class,
2752
                        'options' => [
2753
                            'route' => '/email-templates',
2754
                            'defaults' => [
2755
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2756
                                'action' => 'index'
2757
                            ]
2758
                        ],
2759
                        'may_terminate' => true,
2760
                        'child_routes' => [
2761
                            'edit' => [
2762
                                'type' => Segment::class,
2763
                                'options' => [
2764
                                    'route' => '/edit/:id',
2765
                                    'constraints' => [
2766
                                        'id' => '[A-Za-z0-9\-]+\=*'
2767
                                    ],
2768
                                    'defaults' => [
2769
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2770
                                        'action' => 'edit'
2771
                                    ]
2772
                                ]
2773
                            ],
2774
                        ]
2775
                    ],
67 efrain 2776
                    'positions' => [
2777
                        'type' => Literal::class,
2778
                        'options' => [
2779
                            'route' => '/positions',
2780
                            'defaults' => [
2781
                                'controller' => '\LeadersLinked\Controller\PositionController',
2782
                                'action' => 'index'
2783
                            ]
2784
                        ],
2785
                        'may_terminate' => true,
2786
                        'child_routes' => [
2787
                            'add' => [
2788
                                'type' => Literal::class,
2789
                                'options' => [
2790
                                    'route' => '/add',
2791
                                    'defaults' => [
2792
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2793
                                        'action' => 'add'
2794
                                    ]
2795
                                ]
2796
                            ],
2797
                            'edit' => [
2798
                                'type' => Segment::class,
2799
                                'options' => [
2800
                                    'route' => '/edit/:id',
2801
                                    'constraints' => [
2802
                                        'id' => '[A-Za-z0-9\-]+\=*'
2803
                                    ],
2804
                                    'defaults' => [
2805
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2806
                                        'action' => 'edit'
2807
                                    ]
2808
                                ]
2809
                            ],
2810
                            'delete' => [
2811
                                'type' => Segment::class,
2812
                                'options' => [
2813
                                    'route' => '/delete/:id',
2814
                                    'constraints' => [
2815
                                        'id' => '[A-Za-z0-9\-]+\=*'
2816
                                    ],
2817
                                    'defaults' => [
2818
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2819
                                        'action' => 'delete'
2820
                                    ]
2821
                                ]
2822
                            ],
1320 efrain 2823
                            'subordinates' => [
2824
                                'type' => Segment::class,
2825
                                'options' => [
2826
                                    'route' => '/subordinates/:job_description_id',
2827
                                    'constraints' => [
2828
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
2829
                                    ],
2830
                                    'defaults' => [
2831
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2832
                                        'action' => 'subordinates'
2833
                                    ]
2834
                                ]
2835
                            ],
67 efrain 2836
                        ]
2837
                    ],
1 www 2838
                    'push-templates' => [
2839
                        'type' => Literal::class,
2840
                        'options' => [
2841
                            'route' => '/push-templates',
2842
                            'defaults' => [
2843
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2844
                                'action' => 'index'
2845
                            ]
2846
                        ],
2847
                        'may_terminate' => true,
2848
                        'child_routes' => [
2849
                            'edit' => [
2850
                                'type' => Segment::class,
2851
                                'options' => [
2852
                                    'route' => '/edit/:id',
2853
                                    'constraints' => [
2854
                                        'id' => '[A-Za-z0-9\-]+\=*'
2855
                                    ],
2856
                                    'defaults' => [
2857
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2858
                                        'action' => 'edit'
2859
                                    ]
2860
                                ]
2861
                            ],
2862
                        ]
2863
                    ],
2864
                    'skills' => [
2865
                        'type' => Literal::class,
2866
                        'options' => [
2867
                            'route' => '/skills',
2868
                            'defaults' => [
2869
                                'controller' => '\LeadersLinked\Controller\SkillController',
2870
                                'action' => 'index'
2871
                            ]
2872
                        ],
2873
                        'may_terminate' => true,
2874
                        'child_routes' => [
2875
                            'add' => [
2876
                                'type' => Literal::class,
2877
                                'options' => [
2878
                                    'route' => '/add',
2879
                                    'defaults' => [
2880
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2881
                                        'action' => 'add'
2882
                                    ]
2883
                                ]
2884
                            ],
2885
                            'edit' => [
2886
                                'type' => Segment::class,
2887
                                'options' => [
2888
                                    'route' => '/edit/:id',
2889
                                    'constraints' => [
2890
                                        'id' => '[A-Za-z0-9\-]+\=*'
2891
                                    ],
2892
                                    'defaults' => [
2893
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2894
                                        'action' => 'edit'
2895
                                    ]
2896
                                ]
2897
                            ],
2898
                            'delete' => [
2899
                                'type' => Segment::class,
2900
                                'options' => [
2901
                                    'route' => '/delete/:id',
2902
                                    'constraints' => [
2903
                                        'id' => '[A-Za-z0-9\-]+\=*'
2904
                                    ],
2905
                                    'defaults' => [
2906
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2907
                                        'action' => 'delete'
2908
                                    ]
2909
                                ]
2910
                            ]
2911
                        ]
2912
                    ],
1089 geraldo 2913
                ]
1 www 2914
            ],
1089 geraldo 2915
        /*         * * FIN SETTINGS ** */
1 www 2916
        ]
2917
    ],
2918
    'controllers' => [
2919
        'factories' => [
2920
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2921
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2922
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
2923
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2924
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2925
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2926
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
1115 geraldo 2927
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
1 www 2928
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
2929
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
2930
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
2931
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
2932
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
2933
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
2934
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
2935
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 2936
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 2937
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 2938
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 2939
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
2940
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
2941
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
2942
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
115 efrain 2943
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
2944
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
1089 geraldo 2945
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
247 geraldo 2946
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
987 geraldo 2947
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
2948
            \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormUserControllerFactory::class,
1 www 2949
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 2950
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
2951
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
2952
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
1 www 2953
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
2954
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
2955
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
2956
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
2957
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
2958
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
2959
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
2960
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
2961
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
2962
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
2963
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
2964
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
2965
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
2966
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
2967
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
66 efrain 2968
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 2969
        ],
2970
        'aliases' => [
2971
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
2972
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
2973
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
2974
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
2975
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2976
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
2977
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
2978
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
1102 geraldo 2979
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,
1 www 2980
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
2981
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
2982
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
1089 geraldo 2983
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 2984
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
2985
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
2986
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 2987
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 2988
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 2989
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 2990
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
2991
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
2992
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
2993
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
115 efrain 2994
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
2995
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
2996
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
247 geraldo 2997
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
982 geraldo 2998
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
1089 geraldo 2999
            '\LeadersLinked\Controller\PerformanceEvaluationFormUserController' => \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class,
1 www 3000
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 3001
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
3002
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
3003
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 3004
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
3005
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
3006
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
3007
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
3008
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
3009
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
3010
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
3011
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
3012
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
3013
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
3014
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
3015
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
3016
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
3017
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
3018
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
66 efrain 3019
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1 www 3020
        ]
3021
    ],
3022
    'laminas-cli' => [
3023
        'commands' => [
1089 geraldo 3024
        ]
1 www 3025
    ],
3026
    'service_manager' => [
3027
        'abstract_factories' => [
3028
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
3029
        ],
3030
        'factories' => [
3031
            'RenderingStrategy' => function ($container) {
3032
                $translator = $container->get('MvcTranslator');
3033
                return new \LeadersLinked\View\RenderingStrategy($translator);
3034
            },
3035
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
3036
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
1089 geraldo 3037
        ],
3038
        'aliases' => [// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 3039
        ]
3040
    ],
3041
    'view_helpers' => [
3042
        'factories' => [
3043
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
3044
        ],
3045
        'invokables' => [
3046
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
3047
        ],
3048
        'aliases' => [
3049
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
3050
        ]
3051
    ],
3052
    'controller_plugins' => [
3053
        'invokables' => [],
3054
        'factories' => [
3055
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
3056
        ],
3057
        'aliases' => [
3058
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
3059
        ]
3060
    ],
3061
    'view_manager' => [
3062
        'display_not_found_reason' => true,
3063
        'display_exceptions' => true,
3064
        'doctype' => 'HTML5',
3065
        'not_found_template' => 'error/404',
3066
        'exception_template' => 'error/index',
3067
        'template_map' => [
3068
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
3069
            'error/404' => __DIR__ . '/../view/error/404.phtml',
3070
            'error/index' => __DIR__ . '/../view/error/index.phtml'
3071
        ],
3072
        'template_path_stack' => [
3073
            __DIR__ . '/../view'
3074
        ],
3075
        'strategies' => [
3076
            'ViewJsonStrategy',
3077
            'RenderingStrategy'
3078
        ]
3079
    ]
3080
];
3081