Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
declare(strict_types = 1);
3
namespace LeadersLinked;
4
 
5
use Laminas\Router\Http\Literal;
6
use Laminas\Router\Http\Segment;
7
use Laminas\ServiceManager\Factory\InvokableFactory;
8
return [
9
    'navigation' => [
10
        'menu' => [
11
        ],
12
        'footer' => [
13
 
14
        ]
15
    ],
16
    'router' => [
17
        'routes' => [
18
            'home' => [
19
                'type' => Literal::class,
20
                'options' => [
21
                    'route' => '/',
22
                    'defaults' => [
23
                        'controller' => '\LeadersLinked\Controller\AuthController',
24
                        'action' => 'index'
25
                    ]
26
                ]
27
            ],
28
            'signin-company' => [
29
                'type' => Literal::class,
30
                'options' => [
31
                    'route' => '/signin-company',
32
                    'defaults' => [
33
                        'controller' => '\LeadersLinked\Controller\AuthController',
34
                        'action' => 'signinCompany'
35
                    ]
36
                ],
37
                'may_terminate' => true,
38
            ],
39
            'signin-admin' => [
40
                'type' => Literal::class,
41
                'options' => [
42
                    'route' => '/signin-admin',
43
                    'defaults' => [
44
                        'controller' => '\LeadersLinked\Controller\AuthController',
45
                        'action' => 'signinAdmin'
46
                    ]
47
                ],
48
                'may_terminate' => true,
49
            ],
50
            'signout' => [
51
                'type' => Literal::class,
52
                'options' => [
53
                    'route' => '/signout',
54
                    'defaults' => [
55
                        'controller' => '\LeadersLinked\Controller\AuthController',
56
                        'action' => 'signout'
57
                    ]
58
                ],
59
                'may_terminate' => true,
60
            ],
61
            'dashboard' => [
62
                'type' => Literal::class,
63
                'options' => [
64
                    'route' => '/dashboard',
65
                    'defaults' => [
66
                        'controller' => '\LeadersLinked\Controller\DashboardController',
67
                        'action' => 'index'
68
                    ]
69
                ]
70
            ],
71
 
72
            'storage' => [
73
                'type' => Segment::class,
74
                'options' => [
75
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
76
                    'constraints' => [
77
                        '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',
78
                        'code' => '[A-Za-z0-9\-]+\=*',
79
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
80
                    ],
81
                    'defaults' => [
82
                        'controller' => '\LeadersLinked\Controller\StorageController',
83
                        'action' => 'download'
84
                    ]
85
                ]
86
            ],
87
 
88
            /*** START COMPANIES ***/
89
            'companies' => [
90
                'type' => Literal::class,
91
                'options' => [
92
                    'route' => '/companies',
93
                    'defaults' => [
94
                        'controller' => '\LeadersLinked\Controller\CompanyController',
95
                        'action' => 'index'
96
                    ]
97
                ],
98
                'may_terminate' => true,
99
                'child_routes' => [
100
                    'services' => [
101
                        'type' => Segment::class,
102
                        'options' => [
103
                            'route' => '/services/:id',
104
                            'constraints' => [
105
                                'id' => '[A-Za-z0-9\-]+\=*'
106
                            ],
107
                            'defaults' => [
108
                                'controller' => '\LeadersLinked\Controller\CompanyController',
109
                                'action' => 'services'
110
                            ]
111
                        ]
112
                    ],
113
                    'roles' => [
114
                        'type' => Segment::class,
115
                        'options' => [
116
                            'route' => '/roles/:id',
117
                            'constraints' => [
118
                                'id' => '[A-Za-z0-9\-]+\=*'
119
                            ],
120
                            'defaults' => [
121
                                'controller' => '\LeadersLinked\Controller\CompanyController',
122
                                'action' => 'roles'
123
                            ]
124
                        ]
125
                    ],
126
                    'edit' => [
127
                        'type' => Segment::class,
128
                        'options' => [
129
                            'route' => '/edit/:id',
130
                            'constraints' => [
131
                                'id' => '[A-Za-z0-9\-]+\=*'
132
                            ],
133
                            'defaults' => [
134
                                'controller' => '\LeadersLinked\Controller\CompanyController',
135
                                'action' => 'edit'
136
                            ]
137
                        ]
138
                    ],
139
                ],
140
             ],
141
 
142
 
143
            /*** START USERS ***/
144
            'users' => [
145
                'type' => Literal::class,
146
                'options' => [
147
                    'route' => '/users',
148
                    'defaults' => [
149
                        'controller' => '\LeadersLinked\Controller\UserController',
150
                        'action' => 'index'
151
                    ]
152
                ],
153
                'may_terminate' => true,
154
                'child_routes' => [
155
                    'change-password' => [
156
                        'type' => Segment::class,
157
                        'options' => [
158
                            'route' => '/change-password/:id',
159
                            'constraints' => [
160
                                'id' => '[A-Za-z0-9\-]+\=*'
161
                            ],
162
                            'defaults' => [
163
                                'controller' => '\LeadersLinked\Controller\UserController',
164
                                'action' => 'change-password'
165
                            ]
166
                        ]
167
                    ],
168
                    'unblock' => [
169
                        'type' => Segment::class,
170
                        'options' => [
171
                            'route' => '/unblock/:id',
172
                            'constraints' => [
173
                                'id' => '[A-Za-z0-9\-]+\=*'
174
                            ],
175
                            'defaults' => [
176
                                'controller' => '\LeadersLinked\Controller\UserController',
177
                                'action' => 'unblock'
178
                            ]
179
                        ]
180
                    ],
181
                    'invite' => [
182
                        'type' => Segment::class,
183
                        'options' => [
184
                            'route' => '/invite',
185
                            'defaults' => [
186
                                'controller' => '\LeadersLinked\Controller\UserController',
187
                                'action' => 'invite'
188
                            ]
189
                        ]
190
                    ],
191
                    'accept' => [
192
                        'type' => Segment::class,
193
                        'options' => [
194
                            'route' => '/accept/:id',
195
                            'constraints' => [
196
                                'id' => '[A-Za-z0-9\-]+\=*'
197
                            ],
198
                            'defaults' => [
199
                                'controller' => '\LeadersLinked\Controller\UserController',
200
                                'action' => 'accept'
201
                            ]
202
                        ]
203
                    ],
204
                    'cancel' => [
205
                        'type' => Segment::class,
206
                        'options' => [
207
                            'route' => '/cancel/:id',
208
                            'constraints' => [
209
                                'id' => '[A-Za-z0-9\-]+\=*'
210
                            ],
211
                            'defaults' => [
212
                                'controller' => '\LeadersLinked\Controller\UserController',
213
                                'action' => 'cancel'
214
                            ]
215
                        ]
216
                    ],
217
                    'reject' => [
218
                        'type' => Segment::class,
219
                        'options' => [
220
                            'route' => '/reject/:id',
221
                            'constraints' => [
222
                                'id' => '[A-Za-z0-9\-]+\=*'
223
                            ],
224
                            'defaults' => [
225
                                'controller' => '\LeadersLinked\Controller\UserController',
226
                                'action' => 'reject'
227
                            ]
228
                        ]
229
                    ],
230
                    'edit' => [
231
                        'type' => Segment::class,
232
                        'options' => [
233
                            'route' => '/edit/:id',
234
                            'constraints' => [
235
                                'id' => '[A-Za-z0-9\-]+\=*'
236
                            ],
237
                            'defaults' => [
238
                                'controller' => '\LeadersLinked\Controller\UserController',
239
                                'action' => 'edit'
240
                            ]
241
                        ]
242
                    ],
243
                    'upload' => [
244
                        'type' => Literal::class,
245
                        'options' => [
246
                            'route' => '/upload',
247
                            'defaults' => [
248
                                'controller' => '\LeadersLinked\Controller\UserController',
249
                                'action' => 'upload'
250
                            ]
251
                        ]
252
                    ],
253
 
254
 
255
 
256
 
257
                ]
258
            ],
259
 
260
            /** START FEEDS **/
261
            'feeds' => [
262
                'type' => Literal::class,
263
                'options' => [
264
                    'route' => '/feeds',
265
                    'defaults' => [
266
                        'controller' => '\LeadersLinked\Controller\FeedController',
267
                        'action' => 'index'
268
                    ]
269
                ],
270
                'may_terminate' => true,
271
                'child_routes' => [
272
                    'timeline' => [
273
                        'type' => Literal::class,
274
                        'options' => [
275
                            'route' => '/timeline',
276
                            'defaults' => [
277
                                'controller' => '\LeadersLinked\Controller\FeedController',
278
                                'action' => 'timeline'
279
                            ]
280
                        ]
281
                    ],
282
                    'delete' => [
283
                        'type' => Segment::class,
284
                        'options' => [
285
                            'route' => '/delete/:id',
286
                            'constraints' => [
287
                                'id' => '[A-Za-z0-9\-]+\=*',
288
                            ],
289
                            'defaults' => [
290
                                'controller' => '\LeadersLinked\Controller\FeedController',
291
                                'action' => 'delete'
292
                            ],
293
                        ]
294
                    ],
295
                    'comments' => [
296
                        'type' => Segment::class,
297
                        'options' => [
298
                            'route' => '/comments/:id',
299
                            'constraints' => [
300
                                'id' => '[A-Za-z0-9\-]+\=*',
301
                            ],
302
                            'defaults' => [
303
                                'controller' => '\LeadersLinked\Controller\FeedController',
304
                                'action' => 'comment'
305
                            ],
306
 
307
                        ],
308
                        'may_terminate' => true,
309
                        'child_routes' => [
310
                            'delete' => [
311
                                'type' => Segment::class,
312
                                'options' => [
313
                                    'route' => '/delete/:comment',
314
                                    'constraints' => [
315
                                        'comment' => '[A-Za-z0-9\-]+\=*',
316
                                    ],
317
                                    'defaults' => [
318
                                        'controller' => '\LeadersLinked\Controller\FeedController',
319
                                        'action' => 'commentDelete'
320
                                    ]
321
                                ]
322
                            ],
323
 
324
                        ]
325
                    ],
326
 
327
 
328
                    'add' => [
329
                        'type' => Segment::class,
330
                        'options' => [
331
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
332
                            'constraints' => [
333
                                'company_id' => '[A-Za-z0-9\-]+\=*',
334
                                'group_id' => '[A-Za-z0-9\-]+\=*',
335
                                'encoding' => 'base64'
336
                            ],
337
                            'defaults' => [
338
                                'controller' => '\LeadersLinked\Controller\FeedController',
339
                                'action' => 'add'
340
                            ]
341
                        ]
342
                    ],
343
                ],
344
            ],
345
 
346
            /** START JOBS **/
347
            'jobs' => [
348
                'type' => Literal::class,
349
                'options' => [
350
                    'route' => '/jobs',
351
                    'defaults' => [
352
                        'controller' => '\LeadersLinked\Controller\JobController',
353
                        'action' => 'index'
354
                    ]
355
                ],
356
                'may_terminate' => true,
357
                'child_routes' => [
358
                    'add' => [
359
                        'type' => Literal::class,
360
                        'options' => [
361
                            'route' => '/add',
362
                            'defaults' => [
363
                                'controller' => '\LeadersLinked\Controller\JobController',
364
                                'action' => 'add'
365
                            ]
366
                        ],
367
                    ],
368
                    'delete' => [
369
                        'type' => Segment::class,
370
                        'options' => [
371
                            'route' => '/delete/:id',
372
                            'constraints' => [
373
                                'id' => '[A-Za-z0-9\-]+\=*'
374
                            ],
375
                            'defaults' => [
376
                                'controller' => '\LeadersLinked\Controller\JobController',
377
                                'action' => 'delete'
378
                            ]
379
                        ],
380
                    ],
381
 
382
                    'users-who-applied' => [
383
                        'type' => Segment::class,
384
                        'options' => [
385
                            'route' => '/users-who-applied/:id',
386
                            'constraints' => [
387
                                'id' => '[A-Za-z0-9\-]+\=*'
388
                            ],
389
                            'defaults' => [
390
                                'controller' => '\LeadersLinked\Controller\JobController',
391
                                'action' => 'usersWhoApplied'
392
                            ]
393
                        ],
394
                    ],
395
 
396
 
397
                    'edit' => [
398
                        'type' => Segment::class,
399
                        'options' => [
400
                            'route' => '/edit/:id',
401
                            'constraints' => [
402
                                'id' => '[A-Za-z0-9\-]+\=*'
403
                            ],
404
                            'defaults' => [
405
                                'controller' => '\LeadersLinked\Controller\JobController',
406
                                'action' => 'edit'
407
                            ]
408
                        ],
409
                        'may_terminate' => true,
410
                        'child_routes' => [
411
                            'status' => [
412
                                'type' => Literal::class,
413
                                'options' => [
414
                                    'route' => '/status',
415
                                    'defaults' => [
416
                                        'controller' => '\LeadersLinked\Controller\JobController',
417
                                        'action' => 'status'
418
                                    ]
419
                                ],
420
                            ],
421
                            'title' => [
422
                                'type' => Literal::class,
423
                                'options' => [
424
                                    'route' => '/title',
425
                                    'defaults' => [
426
                                        'controller' => '\LeadersLinked\Controller\JobController',
427
                                        'action' => 'title'
428
                                    ]
429
                                ],
430
                            ],
431
                            'last-date-of-application' => [
432
                                'type' => Literal::class,
433
                                'options' => [
434
                                    'route' => '/last-date-of-application',
435
                                    'defaults' => [
436
                                        'controller' => '\LeadersLinked\Controller\JobController',
437
                                        'action' => 'lastDateOfApplication'
438
                                    ]
439
                                ],
440
                            ],
441
                            'experience' => [
442
                                'type' => Literal::class,
443
                                'options' => [
444
                                    'route' => '/experience',
445
                                    'defaults' => [
446
                                        'controller' => '\LeadersLinked\Controller\JobController',
447
                                        'action' => 'experience'
448
                                    ]
449
                                ],
450
                            ],
451
                            'employment-type' => [
452
                                'type' => Literal::class,
453
                                'options' => [
454
                                    'route' => '/employment-type',
455
                                    'defaults' => [
456
                                        'controller' => '\LeadersLinked\Controller\JobController',
457
                                        'action' => 'employmentType'
458
                                    ]
459
                                ],
460
                            ],
461
                            'job-category' => [
462
                                'type' => Literal::class,
463
                                'options' => [
464
                                    'route' => '/job-category',
465
                                    'defaults' => [
466
                                        'controller' => '\LeadersLinked\Controller\JobController',
467
                                        'action' => 'jobCategory'
468
                                    ]
469
                                ],
470
                            ],
471
                            'extended' => [
472
                                'type' => Literal::class,
473
                                'options' => [
474
                                    'route' => '/extended',
475
                                    'defaults' => [
476
                                        'controller' => '\LeadersLinked\Controller\JobController',
477
                                        'action' => 'extended'
478
                                    ]
479
                                ],
480
                            ],
481
                            'location' => [
482
                                'type' => Literal::class,
483
                                'options' => [
484
                                    'route' => '/location',
485
                                    'defaults' => [
486
                                        'controller' => '\LeadersLinked\Controller\JobController',
487
                                        'action' => 'location'
488
                                    ]
489
                                ],
490
                            ],
491
                            'salary' => [
492
                                'type' => Literal::class,
493
                                'options' => [
494
                                    'route' => '/salary',
495
                                    'defaults' => [
496
                                        'controller' => '\LeadersLinked\Controller\JobController',
497
                                        'action' => 'salary'
498
                                    ]
499
                                ],
500
                            ],
501
                            'degrees' => [
502
                                'type' => Literal::class,
503
                                'options' => [
504
                                    'route' => '/degrees',
505
                                    'defaults' => [
506
                                        'controller' => '\LeadersLinked\Controller\JobController',
507
                                        'action' => 'degree'
508
                                    ]
509
                                ],
510
                            ],
511
                            'languages' => [
512
                                'type' => Literal::class,
513
                                'options' => [
514
                                    'route' => '/languages',
515
                                    'defaults' => [
516
                                        'controller' => '\LeadersLinked\Controller\JobController',
517
                                        'action' => 'language'
518
                                    ]
519
                                ],
520
                            ],
521
                            'skills' => [
522
                                'type' => Literal::class,
523
                                'options' => [
524
                                    'route' => '/skills',
525
                                    'defaults' => [
526
                                        'controller' => '\LeadersLinked\Controller\JobController',
527
                                        'action' => 'skill'
528
                                    ]
529
                                ],
530
                            ],
531
                            'how-apply' => [
532
                                'type' => Literal::class,
533
                                'options' => [
534
                                    'route' => '/how-apply',
535
                                    'defaults' => [
536
                                        'controller' => '\LeadersLinked\Controller\JobController',
537
                                        'action' => 'howApply'
538
                                    ]
539
                                ],
540
                            ],
541
                        ],
542
                    ]
543
                ],
544
 
545
 
546
 
547
            ],
548
            /*** END JOB **/
549
 
550
 
551
            /***** START PROFILE ****/
552
            'profile' => [
553
                'type' => Literal::class,
554
                'options' => [
555
                    'route' => '/profile',
556
                    'defaults' => [
557
                        'controller' => '\LeadersLinked\Controller\ProfileController',
558
                        'action' => 'index'
559
                    ]
560
                ],
561
                'may_terminate' => true,
562
                'child_routes' => [
563
                    'extended' => [
564
                        'type' => Segment::class,
565
                        'options' => [
566
                            'route' => '/extended',
567
 
568
                            'defaults' => [
569
                                'controller' => '\LeadersLinked\Controller\ProfileController',
570
                                'action' => 'extended'
571
                            ]
572
                        ]
573
                    ],
574
                    'image' => [
575
                        'type' => Segment::class,
576
                        'options' => [
577
                            'route' => '/image/:operation',
578
                            'constraints' => [
579
                                'operation' => 'upload|delete'
580
                            ],
581
                            'defaults' => [
582
                                'controller' => '\LeadersLinked\Controller\ProfileController',
583
                                'action' => 'image'
584
                            ]
585
                        ]
586
                    ],
587
                    'cover' => [
588
                        'type' => Segment::class,
589
                        'options' => [
590
                            'route' => '/cover/:operation',
591
                            'constraints' => [
592
                                'operation' => 'upload|delete'
593
                            ],
594
                            'defaults' => [
595
                                'controller' => '\LeadersLinked\Controller\ProfileController',
596
                                'action' => 'cover'
597
                            ]
598
                        ]
599
                    ],
600
                    'website' => [
601
                        'type' => Segment::class,
602
                        'options' => [
603
                            'route' => '/website',
604
                            'defaults' => [
605
                                'controller' => '\LeadersLinked\Controller\ProfileController',
606
                                'action' => 'website'
607
                            ]
608
                        ]
609
                    ],
610
                    'foundation_year' => [
611
                        'type' => Segment::class,
612
                        'options' => [
613
                            'route' => '/foundation_year',
614
                            'defaults' => [
615
                                'controller' => '\LeadersLinked\Controller\ProfileController',
616
                                'action' => 'foundationYear'
617
                            ]
618
                        ]
619
                    ],
620
 
621
                    'location' => [
622
                        'type' => Segment::class,
623
                        'options' => [
624
                            'route' => '/location/:operation[/:id]',
625
                            'constraints' => [
626
                                'operation' => 'add|edit|delete',
627
                                'id' => '[A-Za-z0-9\-]+\=*'
628
                            ],
629
                            'defaults' => [
630
                                'controller' => '\LeadersLinked\Controller\ProfileController',
631
                                'action' => 'location'
632
                            ]
633
                        ]
634
                    ],
635
 
636
                    'social-network' => [
637
                        'type' => Segment::class,
638
                        'options' => [
639
                            'route' => '/social-network',
640
                            'defaults' => [
641
                                'controller' => '\LeadersLinked\Controller\ProfileController',
642
                                'action' => 'socialNetwork'
643
                            ]
644
                        ]
645
                    ],
646
                    'industry' => [
647
                        'type' => Segment::class,
648
                        'options' => [
649
                            'route' => '/industry',
650
                            'defaults' => [
651
                                'controller' => '\LeadersLinked\Controller\ProfileController',
652
                                'action' => 'industry'
653
                            ]
654
                        ]
655
                    ],
656
                    'company-size' => [
657
                        'type' => Segment::class,
658
                        'options' => [
659
                            'route' => '/company-size',
660
                            'defaults' => [
661
                                'controller' => '\LeadersLinked\Controller\ProfileController',
662
                                'action' => 'companySize'
663
                            ]
664
                        ]
665
                    ]
666
                ],
667
 
668
            ],
669
            /*** END PROFILE **/
670
 
671
            /***** START FOLLOWERS ****/
672
            'followers' => [
673
                'type' => Literal::class,
674
                'options' => [
675
                    'route' => '/followers',
676
                    'defaults' => [
677
                        'controller' => '\LeadersLinked\Controller\FollowerController',
678
                        'action' => 'index'
679
                    ]
680
                ],
681
                'may_terminate' => true,
682
                'child_routes' => [
683
                    'delete' => [
684
                        'type' => Segment::class,
685
                        'options' => [
686
                            'route' => '/delete/:id',
687
                            'constraints' => [
688
                                'id' => '[A-Za-z0-9\-]+\=*'
689
                            ],
690
                            'defaults' => [
691
                                'controller' => '\LeadersLinked\Controller\FollowerController',
692
                                'action' => 'delete'
693
                            ]
694
                        ]
695
                    ],
696
                ],
697
            ],
698
            /***** END FOLLOWERS ****/
699
 
700
            /*** START MICRO_LEARNING ***/
701
            'microlearning' => [
702
                'type' => Literal::class,
703
                'options' => [
704
                    'route' => '/microlearning',
705
                    'defaults' => [
706
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
707
                        'action' => 'index'
708
                    ]
709
                ],
710
                'may_terminate' => true,
711
                'child_routes' => [
712
                    'overview' => [
713
                        'type' => Literal::class,
714
                        'options' => [
715
                            'route' => '/overview',
716
                            'defaults' => [
717
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
718
                                'action' => 'overview'
719
                            ]
720
                        ],
721
                    ],
722
                    'reports' => [
723
                        'type' => Literal::class,
724
                        'options' => [
725
                            'route' => '/reports',
726
                            'defaults' => [
727
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
2 efrain 728
                                'action' => 'index'
1 www 729
                            ]
730
                        ],
2 efrain 731
                        'may_terminate' => true,
732
                        'child_routes' => [
733
                            'progress' => [
734
                                'type' => Literal::class,
735
                                'options' => [
736
                                    'route' => '/progress',
737
                                    'defaults' => [
738
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
739
                                        'action' => 'progress'
740
                                    ]
741
                                ]
742
                            ],
743
                            'devices' => [
744
                                'type' => Literal::class,
745
                                'options' => [
746
                                    'route' => '/devices',
747
                                    'defaults' => [
748
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
749
                                        'action' => 'devices'
750
                                    ]
751
                                ]
752
                            ],
753
                        ]
1 www 754
                    ],
755
 
756
                    'content' => [
757
                        'type' => Literal::class,
758
                        'options' => [
759
                            'route' => '/content',
760
                            'defaults' => [
761
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
762
                                'action' => 'index'
763
                            ]
764
                        ],
765
                        'may_terminate' => true,
766
                        'child_routes' => [
767
 
768
                            'topics' => [
769
                                'type' => Literal::class,
770
                                'options' => [
771
                                    'route' => '/topics',
772
                                    'defaults' => [
773
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
774
                                        'action' => 'index'
775
                                    ]
776
                                ],
777
                                'may_terminate' => true,
778
                                'child_routes' => [
779
                                    'add' => [
780
                                        'type' => Literal::class,
781
                                        'options' => [
782
                                            'route' => '/add',
783
                                            'defaults' => [
784
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
785
                                                'action' => 'add'
786
                                            ]
787
                                        ]
788
                                    ],
789
                                    'edit' => [
790
                                        'type' => Segment::class,
791
                                        'options' => [
792
                                            'route' => '/edit/:id',
793
                                            'constraints' => [
794
                                                'id' => '[A-Za-z0-9\-]+\=*'
795
                                            ],
796
                                            'defaults' => [
797
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
798
                                                'action' => 'edit'
799
                                            ]
800
                                        ]
801
                                    ],
802
                                    'delete' => [
803
                                        'type' => Segment::class,
804
                                        'options' => [
805
                                            'route' => '/delete/:id',
806
                                            'constraints' => [
807
                                                'id' => '[A-Za-z0-9\-]+\=*'
808
                                            ],
809
                                            'defaults' => [
810
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
811
                                                'action' => 'delete'
812
                                            ]
813
                                        ]
814
                                    ]
815
                                ]
816
                            ],
817
 
818
                            'capsules' => [
819
                                'type' => Literal::class,
820
                                'options' => [
821
                                    'route' => '/capsules',
822
 
823
                                    'defaults' => [
824
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
825
                                        'action' => 'index'
826
                                    ]
827
                                ],
828
                                'may_terminate' => true,
829
                                'child_routes' => [
830
                                    'add' => [
831
                                        'type' => Segment::class,
832
                                        'options' => [
833
                                            'route' => '/add/topic/:topic_uuid',
834
                                            'constraints' => [
835
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
836
                                            ],
837
                                            'defaults' => [
838
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
839
                                                'action' => 'add'
840
                                            ]
841
                                        ]
842
                                    ],
843
                                    'edit' => [
844
                                        'type' => Segment::class,
845
                                        'options' => [
846
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
847
                                            'constraints' => [
848
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
849
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
850
                                            ],
851
                                            'defaults' => [
852
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
853
                                                'action' => 'edit'
854
                                            ]
855
                                        ]
856
                                    ],
857
                                    'delete' => [
858
                                        'type' => Segment::class,
859
                                        'options' => [
860
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
861
                                            'constraints' => [
862
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
863
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
864
                                            ],
865
                                            'defaults' => [
866
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
867
                                                'action' => 'delete'
868
                                            ]
869
                                        ]
870
                                    ],
871
                                    'users' => [
872
                                        'type' => Segment::class,
873
                                        'options' => [
874
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
875
                                            'constraints' => [
876
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
877
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
878
                                                'type' => 'all|active',
879
                                            ],
880
                                            'defaults' => [
881
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
882
                                                'action' => 'users'
883
                                            ]
884
                                        ]
885
                                    ],
886
                                ]
887
                            ],
888
 
889
 
890
                            'slides' => [
891
                                'type' => Literal::class,
892
                                'options' => [
893
                                    'route' => '/slides',
894
 
895
                                    'defaults' => [
896
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
897
                                        'action' => 'index'
898
                                    ]
899
                                ],
900
                                'may_terminate' => true,
901
                                'child_routes' => [
902
                                    'add' => [
903
                                        'type' => Segment::class,
904
                                        'options' => [
905
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
906
                                            'constraints' => [
907
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
908
                                            ],
909
                                            'defaults' => [
910
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
911
                                                'action' => 'add'
912
                                            ]
913
                                        ]
914
                                    ],
915
                                    'edit' => [
916
                                        'type' => Segment::class,
917
                                        'options' => [
918
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
919
                                            'constraints' => [
920
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
921
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
922
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
923
                                            ],
924
                                            'defaults' => [
925
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
926
                                                'action' => 'edit'
927
                                            ]
928
                                        ]
929
                                    ],
930
                                    'delete' => [
931
                                        'type' => Segment::class,
932
                                        'options' => [
933
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
934
                                            'constraints' => [
935
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
936
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
937
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
938
                                            ],
939
                                            'defaults' => [
940
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
941
                                                'action' => 'delete'
942
                                            ]
943
                                        ]
944
                                    ],
945
 
946
                                    'text' => [
947
                                        'type' => Segment::class,
948
                                        'options' => [
949
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
950
                                            'constraints' => [
951
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
952
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
953
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
954
                                            ],
955
                                            'defaults' => [
956
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
957
                                                'action' => 'text'
958
                                            ]
959
                                        ]
960
                                    ],
961
 
962
                                ]
963
                            ],
964
                        ],
965
                     ],
966
 
967
                    'students' => [
968
                        'type' => Literal::class,
969
                        'options' => [
970
                            'route' => '/students',
971
                            'defaults' => [
972
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
973
                                'action' => 'index'
974
                            ]
975
                        ],
976
                        'may_terminate' => true,
977
                        'child_routes' => [
978
                            'edit' => [
979
                                'type' => Segment::class,
980
                                'options' => [
981
                                    'route' => '/edit/:id',
982
                                    'constraints' => [
983
                                        'id' => '[A-Za-z0-9\-]+\=*',
984
                                    ],
985
                                    'defaults' => [
986
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
987
                                        'action' => 'edit'
988
                                    ]
989
                                ]
990
                            ],
991
                            'timeline' => [
992
                                'type' => Segment::class,
993
                                'options' => [
994
                                    'route' => '/timeline/:id',
995
                                    'constraints' => [
996
                                        'id' => '[A-Za-z0-9\-]+\=*',
997
                                    ],
998
                                    'defaults' => [
999
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1000
                                        'action' => 'timeline'
1001
                                    ]
1002
                                ]
1003
                            ],
1004
                            'change-password' => [
1005
                                'type' => Segment::class,
1006
                                'options' => [
1007
                                    'route' => '/change-password/:id',
1008
                                    'constraints' => [
1009
                                        'id' => '[A-Za-z0-9\-]+\=*'
1010
                                    ],
1011
                                    'defaults' => [
1012
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1013
                                        'action' => 'change-password'
1014
                                    ]
1015
                                ]
1016
                            ],
1017
                            'unblock' => [
1018
                                'type' => Segment::class,
1019
                                'options' => [
1020
                                    'route' => '/unblock/:id',
1021
                                    'constraints' => [
1022
                                        'id' => '[A-Za-z0-9\-]+\=*'
1023
                                    ],
1024
                                    'defaults' => [
1025
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1026
                                        'action' => 'unblock'
1027
                                    ]
1028
                                ]
1029
                            ],
1030
 
1031
                       ]
1032
                    ],
1033
                    'access-for-students' => [
1034
                        'type' => Literal::class,
1035
                        'options' => [
1036
                            'route' => '/access-for-students',
1037
                            'defaults' => [
1038
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1039
                                'action' => 'index'
1040
                            ]
1041
                        ],
1042
                        'may_terminate' => true,
1043
                        'child_routes' => [
1044
                            'revoke' => [
1045
                                'type' => Segment::class,
1046
                                'options' => [
1047
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1048
                                    'constraints' => [
1049
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1050
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1051
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1052
                                    ],
1053
                                    'defaults' => [
1054
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1055
                                        'action' => 'revoke'
1056
                                    ]
1057
                                ]
1058
                            ],
1059
                            'unlimit' => [
1060
                                'type' => Segment::class,
1061
                                'options' => [
1062
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1063
                                    'constraints' => [
1064
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1065
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1066
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1067
                                    ],
1068
                                    'defaults' => [
1069
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1070
                                        'action' => 'unlimit'
1071
                                    ]
1072
                                ]
1073
                            ],
1074
 
1075
                            'upload' => [
1076
                                'type' => Segment::class,
1077
                                'options' => [
1078
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1079
                                    'constraints' => [
1080
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1081
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1082
                                    ],
1083
                                    'defaults' => [
1084
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1085
                                        'action' => 'upload'
1086
                                    ]
1087
                                ]
1088
                            ],
1089
 
1090
                            'notification' => [
1091
                                'type' => Segment::class,
1092
                                'options' => [
1093
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1094
                                    'constraints' => [
1095
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1096
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1097
                                    ],
1098
                                    'defaults' => [
1099
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1100
                                        'action' => 'notification'
1101
                                    ]
1102
                                ]
1103
                            ],
1104
 
1105
 
1106
                        ],
1107
                    ],
1108
 
1109
 
1110
 
1111
                    'settings' => [
1112
                        'type' => Literal::class,
1113
                        'options' => [
1114
                            'route' => '/settings',
1115
                            'defaults' => [
1116
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1117
                                'action' => 'index'
1118
                            ]
1119
                        ],
1120
                        'may_terminate' => true,
1121
                        'child_routes' => [
1122
 
1123
                            'student-types' => [
1124
                                'type' => Literal::class,
1125
                                'options' => [
1126
                                    'route' => '/student-types',
1127
                                    'defaults' => [
1128
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1129
                                        'action' => 'index'
1130
                                    ]
1131
                                ],
1132
                                'may_terminate' => true,
1133
                                'child_routes' => [
1134
                                    'add' => [
1135
                                        'type' => Literal::class,
1136
                                        'options' => [
1137
                                            'route' => '/add',
1138
                                            'defaults' => [
1139
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1140
                                                'action' => 'add'
1141
                                            ]
1142
                                        ]
1143
                                    ],
1144
                                    'edit' => [
1145
                                        'type' => Segment::class,
1146
                                        'options' => [
1147
                                            'route' => '/edit/:id',
1148
                                            'constraints' => [
1149
                                                'id' => '[A-Za-z0-9\-]+\=*'
1150
                                            ],
1151
                                            'defaults' => [
1152
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1153
                                                'action' => 'edit'
1154
                                            ]
1155
                                        ]
1156
                                    ],
1157
                                    'delete' => [
1158
                                        'type' => Segment::class,
1159
                                        'options' => [
1160
                                            'route' => '/delete/:id',
1161
                                            'constraints' => [
1162
                                                'id' => '[A-Za-z0-9\-]+\=*'
1163
                                            ],
1164
                                            'defaults' => [
1165
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1166
                                                'action' => 'delete'
1167
                                            ]
1168
                                        ]
1169
                                    ]
1170
                                ]
1171
                            ],
1172
 
1173
 
1174
 
1175
                            'functions' => [
1176
                                'type' => Literal::class,
1177
                                'options' => [
1178
                                    'route' => '/functions',
1179
                                    'defaults' => [
1180
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1181
                                        'action' => 'index'
1182
                                    ]
1183
                                ],
1184
                                'may_terminate' => true,
1185
                                'child_routes' => [
1186
                                    'add' => [
1187
                                        'type' => Literal::class,
1188
                                        'options' => [
1189
                                            'route' => '/add',
1190
                                            'defaults' => [
1191
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1192
                                                'action' => 'add'
1193
                                            ]
1194
                                        ]
1195
                                    ],
1196
                                    'edit' => [
1197
                                        'type' => Segment::class,
1198
                                        'options' => [
1199
                                            'route' => '/edit/:id',
1200
                                            'constraints' => [
1201
                                                'id' => '[A-Za-z0-9\-]+\=*'
1202
                                            ],
1203
                                            'defaults' => [
1204
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1205
                                                'action' => 'edit'
1206
                                            ]
1207
                                        ]
1208
                                    ],
1209
                                    'delete' => [
1210
                                        'type' => Segment::class,
1211
                                        'options' => [
1212
                                            'route' => '/delete/:id',
1213
                                            'constraints' => [
1214
                                                'id' => '[A-Za-z0-9\-]+\=*'
1215
                                            ],
1216
                                            'defaults' => [
1217
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1218
                                                'action' => 'delete'
1219
                                            ]
1220
                                        ]
1221
                                    ]
1222
                                ]
1223
                            ],
1224
 
1225
                            'sectors' => [
1226
                                'type' => Literal::class,
1227
                                'options' => [
1228
                                    'route' => '/sectors',
1229
                                    'defaults' => [
1230
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1231
                                        'action' => 'index'
1232
                                    ]
1233
                                ],
1234
                                'may_terminate' => true,
1235
                                'child_routes' => [
1236
                                    'add' => [
1237
                                        'type' => Literal::class,
1238
                                        'options' => [
1239
                                            'route' => '/add',
1240
                                            'defaults' => [
1241
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1242
                                                'action' => 'add'
1243
                                            ]
1244
                                        ]
1245
                                    ],
1246
                                    'edit' => [
1247
                                        'type' => Segment::class,
1248
                                        'options' => [
1249
                                            'route' => '/edit/:id',
1250
                                            'constraints' => [
1251
                                                'id' => '[A-Za-z0-9\-]+\=*'
1252
                                            ],
1253
                                            'defaults' => [
1254
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1255
                                                'action' => 'edit'
1256
                                            ]
1257
                                        ]
1258
                                    ],
1259
                                    'delete' => [
1260
                                        'type' => Segment::class,
1261
                                        'options' => [
1262
                                            'route' => '/delete/:id',
1263
                                            'constraints' => [
1264
                                                'id' => '[A-Za-z0-9\-]+\=*'
1265
                                            ],
1266
                                            'defaults' => [
1267
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1268
                                                'action' => 'delete'
1269
                                            ]
1270
                                        ]
1271
                                    ]
1272
                                ]
1273
                            ],
1274
 
1275
                            'programs' => [
1276
                                'type' => Literal::class,
1277
                                'options' => [
1278
                                    'route' => '/programs',
1279
                                    'defaults' => [
1280
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1281
                                        'action' => 'index'
1282
                                    ]
1283
                                ],
1284
                                'may_terminate' => true,
1285
                                'child_routes' => [
1286
                                    'add' => [
1287
                                        'type' => Literal::class,
1288
                                        'options' => [
1289
                                            'route' => '/add',
1290
                                            'defaults' => [
1291
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1292
                                                'action' => 'add'
1293
                                            ]
1294
                                        ]
1295
                                    ],
1296
                                    'edit' => [
1297
                                        'type' => Segment::class,
1298
                                        'options' => [
1299
                                            'route' => '/edit/:id',
1300
                                            'constraints' => [
1301
                                                'id' => '[A-Za-z0-9\-]+\=*'
1302
                                            ],
1303
                                            'defaults' => [
1304
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1305
                                                'action' => 'edit'
1306
                                            ]
1307
                                        ]
1308
                                    ],
1309
                                    'delete' => [
1310
                                        'type' => Segment::class,
1311
                                        'options' => [
1312
                                            'route' => '/delete/:id',
1313
                                            'constraints' => [
1314
                                                'id' => '[A-Za-z0-9\-]+\=*'
1315
                                            ],
1316
                                            'defaults' => [
1317
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1318
                                                'action' => 'delete'
1319
                                            ]
1320
                                        ]
1321
                                    ]
1322
                                ]
1323
                            ],
1324
 
1325
                            'groups' => [
1326
                                'type' => Literal::class,
1327
                                'options' => [
1328
                                    'route' => '/groups',
1329
                                    'defaults' => [
1330
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1331
                                        'action' => 'index'
1332
                                    ]
1333
                                ],
1334
                                'may_terminate' => true,
1335
                                'child_routes' => [
1336
                                    'add' => [
1337
                                        'type' => Literal::class,
1338
                                        'options' => [
1339
                                            'route' => '/add',
1340
                                            'defaults' => [
1341
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1342
                                                'action' => 'add'
1343
                                            ]
1344
                                        ]
1345
                                    ],
1346
                                    'edit' => [
1347
                                        'type' => Segment::class,
1348
                                        'options' => [
1349
                                            'route' => '/edit/:id',
1350
                                            'constraints' => [
1351
                                                'id' => '[A-Za-z0-9\-]+\=*'
1352
                                            ],
1353
                                            'defaults' => [
1354
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1355
                                                'action' => 'edit'
1356
                                            ]
1357
                                        ]
1358
                                    ],
1359
                                    'delete' => [
1360
                                        'type' => Segment::class,
1361
                                        'options' => [
1362
                                            'route' => '/delete/:id',
1363
                                            'constraints' => [
1364
                                                'id' => '[A-Za-z0-9\-]+\=*'
1365
                                            ],
1366
                                            'defaults' => [
1367
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1368
                                                'action' => 'delete'
1369
                                            ]
1370
                                        ]
1371
                                    ]
1372
                                ]
1373
                            ],
1374
 
1375
                            'companies' => [
1376
                                'type' => Literal::class,
1377
                                'options' => [
1378
                                    'route' => '/companies',
1379
                                    'defaults' => [
1380
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1381
                                        'action' => 'index'
1382
                                    ]
1383
                                ],
1384
                                'may_terminate' => true,
1385
                                'child_routes' => [
1386
                                    'add' => [
1387
                                        'type' => Literal::class,
1388
                                        'options' => [
1389
                                            'route' => '/add',
1390
                                            'defaults' => [
1391
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1392
                                                'action' => 'add'
1393
                                            ]
1394
                                        ]
1395
                                    ],
1396
                                    'edit' => [
1397
                                        'type' => Segment::class,
1398
                                        'options' => [
1399
                                            'route' => '/edit/:id',
1400
                                            'constraints' => [
1401
                                                'id' => '[A-Za-z0-9\-]+\=*'
1402
                                            ],
1403
                                            'defaults' => [
1404
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1405
                                                'action' => 'edit'
1406
                                            ]
1407
                                        ]
1408
                                    ],
1409
                                    'delete' => [
1410
                                        'type' => Segment::class,
1411
                                        'options' => [
1412
                                            'route' => '/delete/:id',
1413
                                            'constraints' => [
1414
                                                'id' => '[A-Za-z0-9\-]+\=*'
1415
                                            ],
1416
                                            'defaults' => [
1417
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1418
                                                'action' => 'delete'
1419
                                            ]
1420
                                        ]
1421
                                    ]
1422
                                ]
1423
                            ],
1424
 
1425
                            'partners' => [
1426
                                'type' => Literal::class,
1427
                                'options' => [
1428
                                    'route' => '/partners',
1429
                                    'defaults' => [
1430
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1431
                                        'action' => 'index'
1432
                                    ]
1433
                                ],
1434
                                'may_terminate' => true,
1435
                                'child_routes' => [
1436
                                    'add' => [
1437
                                        'type' => Literal::class,
1438
                                        'options' => [
1439
                                            'route' => '/add',
1440
                                            'defaults' => [
1441
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1442
                                                'action' => 'add'
1443
                                            ]
1444
                                        ]
1445
                                    ],
1446
                                    'edit' => [
1447
                                        'type' => Segment::class,
1448
                                        'options' => [
1449
                                            'route' => '/edit/:id',
1450
                                            'constraints' => [
1451
                                                'id' => '[A-Za-z0-9\-]+\=*'
1452
                                            ],
1453
                                            'defaults' => [
1454
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1455
                                                'action' => 'edit'
1456
                                            ]
1457
                                        ]
1458
                                    ],
1459
                                    'delete' => [
1460
                                        'type' => Segment::class,
1461
                                        'options' => [
1462
                                            'route' => '/delete/:id',
1463
                                            'constraints' => [
1464
                                                'id' => '[A-Za-z0-9\-]+\=*'
1465
                                            ],
1466
                                            'defaults' => [
1467
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1468
                                                'action' => 'delete'
1469
                                            ]
1470
                                        ]
1471
                                    ]
1472
                                ]
1473
                            ],
1474
 
1475
                            'institutions' => [
1476
                                'type' => Literal::class,
1477
                                'options' => [
1478
                                    'route' => '/institutions',
1479
                                    'defaults' => [
1480
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1481
                                        'action' => 'index'
1482
                                    ]
1483
                                ],
1484
                                'may_terminate' => true,
1485
                                'child_routes' => [
1486
                                    'add' => [
1487
                                        'type' => Literal::class,
1488
                                        'options' => [
1489
                                            'route' => '/add',
1490
                                            'defaults' => [
1491
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1492
                                                'action' => 'add'
1493
                                            ]
1494
                                        ]
1495
                                    ],
1496
                                    'edit' => [
1497
                                        'type' => Segment::class,
1498
                                        'options' => [
1499
                                            'route' => '/edit/:id',
1500
                                            'constraints' => [
1501
                                                'id' => '[A-Za-z0-9\-]+\=*'
1502
                                            ],
1503
                                            'defaults' => [
1504
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1505
                                                'action' => 'edit'
1506
                                            ]
1507
                                        ]
1508
                                    ],
1509
                                    'delete' => [
1510
                                        'type' => Segment::class,
1511
                                        'options' => [
1512
                                            'route' => '/delete/:id',
1513
                                            'constraints' => [
1514
                                                'id' => '[A-Za-z0-9\-]+\=*'
1515
                                            ],
1516
                                            'defaults' => [
1517
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1518
                                                'action' => 'delete'
1519
                                            ]
1520
                                        ]
1521
                                    ]
1522
                                ]
1523
                            ],
1524
 
1525
 
1526
                        ]
1527
                     ],
1528
 
1529
 
1530
 
1531
 
1532
                ],
1533
 
1534
            ],
1535
 
1536
 
1537
 
1538
            /*** START PUBLICATIONS ***/
1539
            'publications' => [
1540
                'type' => Literal::class,
1541
                'options' => [
1542
                    'route' => '/publications',
1543
                    'defaults' => [
1544
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1545
                        'action' => 'index'
1546
                    ]
1547
                ],
1548
                'may_terminate' => true,
1549
                'child_routes' => [
1550
 
1551
                    'pages' => [
1552
                        'type' => Literal::class,
1553
                        'options' => [
1554
                            'route' => '/pages',
1555
                            'defaults' => [
1556
                                'controller' => '\LeadersLinked\Controller\PageController',
1557
                                'action' => 'index'
1558
                            ]
1559
                        ],
1560
                        'may_terminate' => true,
1561
                        'child_routes' => [
1562
                            'add' => [
1563
                                'type' => Literal::class,
1564
                                'options' => [
1565
                                    'route' => '/add',
1566
                                    'defaults' => [
1567
                                        'controller' => '\LeadersLinked\Controller\PageController',
1568
                                        'action' => 'add'
1569
                                    ]
1570
                                ]
1571
                            ],
1572
                            'edit' => [
1573
                                'type' => Segment::class,
1574
                                'options' => [
1575
                                    'route' => '/edit/:id',
1576
                                    'constraints' => [
1577
                                        'id' => '[A-Za-z0-9\-]+\=*'
1578
                                    ],
1579
                                    'defaults' => [
1580
                                        'controller' => '\LeadersLinked\Controller\PageController',
1581
                                        'action' => 'edit'
1582
                                    ]
1583
                                ]
1584
                            ],
1585
                            'delete' => [
1586
                                'type' => Segment::class,
1587
                                'options' => [
1588
                                    'route' => '/delete/:id',
1589
                                    'constraints' => [
1590
                                        'id' => '[A-Za-z0-9\-]+\=*'
1591
                                    ],
1592
                                    'defaults' => [
1593
                                        'controller' => '\LeadersLinked\Controller\PageController',
1594
                                        'action' => 'delete'
1595
                                    ]
1596
                                ]
1597
                            ]
1598
                        ]
1599
                    ],
1600
 
1601
                    'posts' => [
1602
                        'type' => Literal::class,
1603
                        'options' => [
1604
                            'route' => '/posts',
1605
                            'defaults' => [
1606
                                'controller' => '\LeadersLinked\Controller\PostController',
1607
                                'action' => 'index'
1608
                            ]
1609
                        ],
1610
                        'may_terminate' => true,
1611
                        'child_routes' => [
1612
                            'add' => [
1613
                                'type' => Literal::class,
1614
                                'options' => [
1615
                                    'route' => '/add',
1616
                                    'defaults' => [
1617
                                        'controller' => '\LeadersLinked\Controller\PostController',
1618
                                        'action' => 'add'
1619
                                    ]
1620
                                ]
1621
                            ],
1622
                            'edit' => [
1623
                                'type' => Segment::class,
1624
                                'options' => [
1625
                                    'route' => '/edit/:id',
1626
                                    'constraints' => [
1627
                                        'id' => '[A-Za-z0-9\-]+\=*'
1628
                                    ],
1629
                                    'defaults' => [
1630
                                        'controller' => '\LeadersLinked\Controller\PostController',
1631
                                        'action' => 'edit'
1632
                                    ]
1633
                                ]
1634
                            ],
1635
                            'delete' => [
1636
                                'type' => Segment::class,
1637
                                'options' => [
1638
                                    'route' => '/delete/:id',
1639
                                    'constraints' => [
1640
                                        'id' => '[A-Za-z0-9\-]+\=*'
1641
                                    ],
1642
                                    'defaults' => [
1643
                                        'controller' => '\LeadersLinked\Controller\PostController',
1644
                                        'action' => 'delete'
1645
                                    ]
1646
                                ]
1647
                            ]
1648
                        ]
1649
                    ],
1650
 
1651
 
1652
 
1653
                ]
1654
            ],
1655
 
1656
            /*** START SETTINGS ***/
1657
            'settings' => [
1658
                'type' => Literal::class,
1659
                'options' => [
1660
                    'route' => '/settings',
1661
                    'defaults' => [
1662
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1663
                        'action' => 'index'
1664
                    ]
1665
                ],
1666
                'may_terminate' => true,
1667
                'child_routes' => [
1668
 
1669
                    'company-sizes' => [
1670
                        'type' => Literal::class,
1671
                        'options' => [
1672
                            'route' => '/company-sizes',
1673
                            'defaults' => [
1674
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
1675
                                'action' => 'index'
1676
                            ]
1677
                        ],
1678
                        'may_terminate' => true,
1679
                        'child_routes' => [
1680
                            'add' => [
1681
                                'type' => Literal::class,
1682
                                'options' => [
1683
                                    'route' => '/add',
1684
                                    'defaults' => [
1685
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1686
                                        'action' => 'add'
1687
                                    ]
1688
                                ]
1689
                            ],
1690
                            'edit' => [
1691
                                'type' => Segment::class,
1692
                                'options' => [
1693
                                    'route' => '/edit/:id',
1694
                                    'constraints' => [
1695
                                        'id' => '[A-Za-z0-9\-]+\=*'
1696
                                    ],
1697
                                    'defaults' => [
1698
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1699
                                        'action' => 'edit'
1700
                                    ]
1701
                                ]
1702
                            ],
1703
                            'delete' => [
1704
                                'type' => Segment::class,
1705
                                'options' => [
1706
                                    'route' => '/delete/:id',
1707
                                    'constraints' => [
1708
                                        'id' => '[A-Za-z0-9\-]+\=*'
1709
                                    ],
1710
                                    'defaults' => [
1711
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1712
                                        'action' => 'delete'
1713
                                    ]
1714
                                ]
1715
                            ]
1716
                        ]
1717
                    ],
1718
 
1719
 
1720
                    'competency-types' => [
1721
                        'type' => Literal::class,
1722
                        'options' => [
1723
                            'route' => '/competency-types',
1724
                            'defaults' => [
1725
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1726
                                'action' => 'index'
1727
                            ]
1728
                        ],
1729
                        'may_terminate' => true,
1730
                        'child_routes' => [
1731
                            'add' => [
1732
                                'type' => Literal::class,
1733
                                'options' => [
1734
                                    'route' => '/add',
1735
                                    'defaults' => [
1736
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1737
                                        'action' => 'add'
1738
                                    ]
1739
                                ]
1740
                            ],
1741
                            'edit' => [
1742
                                'type' => Segment::class,
1743
                                'options' => [
1744
                                    'route' => '/edit/:id',
1745
                                    'constraints' => [
1746
                                        'id' => '[A-Za-z0-9\-]+\=*'
1747
                                    ],
1748
                                    'defaults' => [
1749
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1750
                                        'action' => 'edit'
1751
                                    ]
1752
                                ]
1753
                            ],
1754
                            'delete' => [
1755
                                'type' => Segment::class,
1756
                                'options' => [
1757
                                    'route' => '/delete/:id',
1758
                                    'constraints' => [
1759
                                        'id' => '[A-Za-z0-9\-]+\=*'
1760
                                    ],
1761
                                    'defaults' => [
1762
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1763
                                        'action' => 'delete'
1764
                                    ]
1765
                                ]
1766
                            ]
1767
                        ]
1768
                    ],
1769
 
1770
                    'competencies' => [
1771
                        'type' => Literal::class,
1772
                        'options' => [
1773
                            'route' => '/competencies',
1774
                            'defaults' => [
1775
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
1776
                                'action' => 'index'
1777
                            ]
1778
                        ],
1779
                        'may_terminate' => true,
1780
                        'child_routes' => [
1781
                            'add' => [
1782
                                'type' => Literal::class,
1783
                                'options' => [
1784
                                    'route' => '/add',
1785
                                    'defaults' => [
1786
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1787
                                        'action' => 'add'
1788
                                    ]
1789
                                ]
1790
                            ],
1791
                            'edit' => [
1792
                                'type' => Segment::class,
1793
                                'options' => [
1794
                                    'route' => '/edit/:id',
1795
                                    'constraints' => [
1796
                                        'id' => '[A-Za-z0-9\-]+\=*'
1797
                                    ],
1798
                                    'defaults' => [
1799
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1800
                                        'action' => 'edit'
1801
                                    ]
1802
                                ]
1803
                            ],
1804
                            'delete' => [
1805
                                'type' => Segment::class,
1806
                                'options' => [
1807
                                    'route' => '/delete/:id',
1808
                                    'constraints' => [
1809
                                        'id' => '[A-Za-z0-9\-]+\=*'
1810
                                    ],
1811
                                    'defaults' => [
1812
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1813
                                        'action' => 'delete'
1814
                                    ]
1815
                                ]
1816
                            ]
1817
                        ]
1818
                    ],
1819
 
1820
                    'degrees' => [
1821
                        'type' => Literal::class,
1822
                        'options' => [
1823
                            'route' => '/degrees',
1824
                            'defaults' => [
1825
                                'controller' => '\LeadersLinked\Controller\DegreeController',
1826
                                'action' => 'index'
1827
                            ]
1828
                        ],
1829
                        'may_terminate' => true,
1830
                        'child_routes' => [
1831
                            'add' => [
1832
                                'type' => Literal::class,
1833
                                'options' => [
1834
                                    'route' => '/add',
1835
                                    'defaults' => [
1836
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1837
                                        'action' => 'add'
1838
                                    ]
1839
                                ]
1840
                            ],
1841
                            'edit' => [
1842
                                'type' => Segment::class,
1843
                                'options' => [
1844
                                    'route' => '/edit/:id',
1845
                                    'constraints' => [
1846
                                        'id' => '[A-Za-z0-9\-]+\=*'
1847
                                    ],
1848
                                    'defaults' => [
1849
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1850
                                        'action' => 'edit'
1851
                                    ]
1852
                                ]
1853
                            ],
1854
                            'delete' => [
1855
                                'type' => Segment::class,
1856
                                'options' => [
1857
                                    'route' => '/delete/:id',
1858
                                    'constraints' => [
1859
                                        'id' => '[A-Za-z0-9\-]+\=*'
1860
                                    ],
1861
                                    'defaults' => [
1862
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1863
                                        'action' => 'delete'
1864
                                    ]
1865
                                ]
1866
                            ]
1867
                        ]
1868
                    ],
1869
 
1870
                    'group-types' => [
1871
                        'type' => Literal::class,
1872
                        'options' => [
1873
                            'route' => '/competency-types',
1874
                            'defaults' => [
1875
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
1876
                                'action' => 'index'
1877
                            ]
1878
                        ],
1879
                        'may_terminate' => true,
1880
                        'child_routes' => [
1881
                            'add' => [
1882
                                'type' => Literal::class,
1883
                                'options' => [
1884
                                    'route' => '/add',
1885
                                    'defaults' => [
1886
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1887
                                        'action' => 'add'
1888
                                    ]
1889
                                ]
1890
                            ],
1891
                            'edit' => [
1892
                                'type' => Segment::class,
1893
                                'options' => [
1894
                                    'route' => '/edit/:id',
1895
                                    'constraints' => [
1896
                                        'id' => '[A-Za-z0-9\-]+\=*'
1897
                                    ],
1898
                                    'defaults' => [
1899
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1900
                                        'action' => 'edit'
1901
                                    ]
1902
                                ]
1903
                            ],
1904
                            'delete' => [
1905
                                'type' => Segment::class,
1906
                                'options' => [
1907
                                    'route' => '/delete/:id',
1908
                                    'constraints' => [
1909
                                        'id' => '[A-Za-z0-9\-]+\=*'
1910
                                    ],
1911
                                    'defaults' => [
1912
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1913
                                        'action' => 'delete'
1914
                                    ]
1915
                                ]
1916
                            ]
1917
                        ]
1918
                    ],
1919
 
1920
 
1921
                    'industries' => [
1922
                        'type' => Literal::class,
1923
                        'options' => [
1924
                            'route' => '/industries',
1925
                            'defaults' => [
1926
                                'controller' => '\LeadersLinked\Controller\IndustryController',
1927
                                'action' => 'index'
1928
                            ]
1929
                        ],
1930
                        'may_terminate' => true,
1931
                        'child_routes' => [
1932
                            'add' => [
1933
                                'type' => Literal::class,
1934
                                'options' => [
1935
                                    'route' => '/add',
1936
                                    'defaults' => [
1937
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1938
                                        'action' => 'add'
1939
                                    ]
1940
                                ]
1941
                            ],
1942
                            'edit' => [
1943
                                'type' => Segment::class,
1944
                                'options' => [
1945
                                    'route' => '/edit/:id',
1946
                                    'constraints' => [
1947
                                        'id' => '[A-Za-z0-9\-]+\=*'
1948
                                    ],
1949
                                    'defaults' => [
1950
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1951
                                        'action' => 'edit'
1952
                                    ]
1953
                                ]
1954
                            ],
1955
                            'delete' => [
1956
                                'type' => Segment::class,
1957
                                'options' => [
1958
                                    'route' => '/delete/:id',
1959
                                    'constraints' => [
1960
                                        'id' => '[A-Za-z0-9\-]+\=*'
1961
                                    ],
1962
                                    'defaults' => [
1963
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1964
                                        'action' => 'delete'
1965
                                    ]
1966
                                ]
1967
                            ]
1968
                        ]
1969
                    ],
1970
 
1971
 
1972
                    'group-types' => [
1973
                        'type' => Literal::class,
1974
                        'options' => [
1975
                            'route' => '/group-types',
1976
                            'defaults' => [
1977
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
1978
                                'action' => 'index'
1979
                            ]
1980
                        ],
1981
                        'may_terminate' => true,
1982
                        'child_routes' => [
1983
                            'add' => [
1984
                                'type' => Literal::class,
1985
                                'options' => [
1986
                                    'route' => '/add',
1987
                                    'defaults' => [
1988
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1989
                                        'action' => 'add'
1990
                                    ]
1991
                                ]
1992
                            ],
1993
                            'edit' => [
1994
                                'type' => Segment::class,
1995
                                'options' => [
1996
                                    'route' => '/edit/:id',
1997
                                    'constraints' => [
1998
                                        'id' => '[A-Za-z0-9\-]+\=*'
1999
                                    ],
2000
                                    'defaults' => [
2001
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2002
                                        'action' => 'edit'
2003
                                    ]
2004
                                ]
2005
                            ],
2006
                            'delete' => [
2007
                                'type' => Segment::class,
2008
                                'options' => [
2009
                                    'route' => '/delete/:id',
2010
                                    'constraints' => [
2011
                                        'id' => '[A-Za-z0-9\-]+\=*'
2012
                                    ],
2013
                                    'defaults' => [
2014
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2015
                                        'action' => 'delete'
2016
                                    ]
2017
                                ]
2018
                            ]
2019
                        ]
2020
                    ],
2021
 
2022
                    'job-categories' => [
2023
                        'type' => Literal::class,
2024
                        'options' => [
2025
                            'route' => '/job-categories',
2026
                            'defaults' => [
2027
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2028
                                'action' => 'index'
2029
                            ]
2030
                        ],
2031
                        'may_terminate' => true,
2032
                        'child_routes' => [
2033
                            'add' => [
2034
                                'type' => Literal::class,
2035
                                'options' => [
2036
                                    'route' => '/add',
2037
                                    'defaults' => [
2038
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2039
                                        'action' => 'add'
2040
                                    ]
2041
                                ]
2042
                            ],
2043
                            'edit' => [
2044
                                'type' => Segment::class,
2045
                                'options' => [
2046
                                    'route' => '/edit/:id',
2047
                                    'constraints' => [
2048
                                        'id' => '[A-Za-z0-9\-]+\=*'
2049
                                    ],
2050
                                    'defaults' => [
2051
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2052
                                        'action' => 'edit'
2053
                                    ]
2054
                                ]
2055
                            ],
2056
                            'delete' => [
2057
                                'type' => Segment::class,
2058
                                'options' => [
2059
                                    'route' => '/delete/:id',
2060
                                    'constraints' => [
2061
                                        'id' => '[A-Za-z0-9\-]+\=*'
2062
                                    ],
2063
                                    'defaults' => [
2064
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2065
                                        'action' => 'delete'
2066
                                    ]
2067
                                ]
2068
                            ]
2069
                        ]
2070
                    ],
2071
 
2072
 
2073
 
2074
                    'email-templates' => [
2075
                        'type' => Literal::class,
2076
                        'options' => [
2077
                            'route' => '/email-templates',
2078
                            'defaults' => [
2079
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2080
                                'action' => 'index'
2081
                            ]
2082
                        ],
2083
                        'may_terminate' => true,
2084
                        'child_routes' => [
2085
                            'edit' => [
2086
                                'type' => Segment::class,
2087
                                'options' => [
2088
                                    'route' => '/edit/:id',
2089
                                    'constraints' => [
2090
                                        'id' => '[A-Za-z0-9\-]+\=*'
2091
                                    ],
2092
                                    'defaults' => [
2093
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2094
                                        'action' => 'edit'
2095
                                    ]
2096
                                ]
2097
                            ],
2098
                        ]
2099
                    ],
2100
 
2101
                    'push-templates' => [
2102
                        'type' => Literal::class,
2103
                        'options' => [
2104
                            'route' => '/push-templates',
2105
                            'defaults' => [
2106
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2107
                                'action' => 'index'
2108
                            ]
2109
                        ],
2110
                        'may_terminate' => true,
2111
                        'child_routes' => [
2112
                            'edit' => [
2113
                                'type' => Segment::class,
2114
                                'options' => [
2115
                                    'route' => '/edit/:id',
2116
                                    'constraints' => [
2117
                                        'id' => '[A-Za-z0-9\-]+\=*'
2118
                                    ],
2119
                                    'defaults' => [
2120
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2121
                                        'action' => 'edit'
2122
                                    ]
2123
                                ]
2124
                            ],
2125
                        ]
2126
                    ],
2127
 
2128
                    'skills' => [
2129
                        'type' => Literal::class,
2130
                        'options' => [
2131
                            'route' => '/skills',
2132
                            'defaults' => [
2133
                                'controller' => '\LeadersLinked\Controller\SkillController',
2134
                                'action' => 'index'
2135
                            ]
2136
                        ],
2137
                        'may_terminate' => true,
2138
                        'child_routes' => [
2139
                            'add' => [
2140
                                'type' => Literal::class,
2141
                                'options' => [
2142
                                    'route' => '/add',
2143
                                    'defaults' => [
2144
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2145
                                        'action' => 'add'
2146
                                    ]
2147
                                ]
2148
                            ],
2149
                            'edit' => [
2150
                                'type' => Segment::class,
2151
                                'options' => [
2152
                                    'route' => '/edit/:id',
2153
                                    'constraints' => [
2154
                                        'id' => '[A-Za-z0-9\-]+\=*'
2155
                                    ],
2156
                                    'defaults' => [
2157
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2158
                                        'action' => 'edit'
2159
                                    ]
2160
                                ]
2161
                            ],
2162
                            'delete' => [
2163
                                'type' => Segment::class,
2164
                                'options' => [
2165
                                    'route' => '/delete/:id',
2166
                                    'constraints' => [
2167
                                        'id' => '[A-Za-z0-9\-]+\=*'
2168
                                    ],
2169
                                    'defaults' => [
2170
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2171
                                        'action' => 'delete'
2172
                                    ]
2173
                                ]
2174
                            ]
2175
                        ]
2176
                    ],
2177
 
2178
                ]
2179
            ],
2180
 
2181
 
2182
 
2183
 
2184
 
2185
            /*** FIN SETTINGS ***/
2186
 
2187
 
2188
 
2189
        ]
2190
    ],
2191
 
2192
    'controllers' => [
2193
        'factories' => [
2194
 
2195
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2196
 
2197
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2198
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
2199
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2200
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2201
 
2202
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2203
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
2204
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
2205
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
2206
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
2207
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
2208
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
2209
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
2210
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
2211
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
2212
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
2213
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
2214
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
2215
 
2216
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
2217
 
2218
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
2219
 
2220
 
2221
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
2222
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
2223
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
2224
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
2225
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
2226
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
2227
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
2228
 
2229
 
2230
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
2231
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
2232
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
2233
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
2234
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
2235
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
2236
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
2237
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
2238
 
2239
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
2240
 
2241
        ],
2242
 
2243
        'aliases' => [
2244
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
2245
 
2246
 
2247
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
2248
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
2249
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
2250
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2251
 
2252
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
2253
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
2254
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
2255
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
2256
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
2257
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
2258
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
2259
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
2260
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
2261
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
2262
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
2263
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
2264
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
2265
 
2266
 
2267
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
2268
 
2269
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
2270
 
2271
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
2272
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
2273
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
2274
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
2275
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
2276
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
2277
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
2278
 
2279
 
2280
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
2281
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
2282
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
2283
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
2284
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
2285
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
2286
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
2287
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
2288
 
2289
 
2290
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
2291
 
2292
        ]
2293
    ],
2294
 
2295
    'laminas-cli' => [
2296
        'commands' => [
2297
 
2298
      ]
2299
    ],
2300
 
2301
    'service_manager' => [
2302
        'abstract_factories' => [
2303
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
2304
        ],
2305
        'factories' => [
2306
            'RenderingStrategy' => function ($container) {
2307
                $translator = $container->get('MvcTranslator');
2308
                return new \LeadersLinked\View\RenderingStrategy($translator);
2309
            },
2310
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
2311
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
2312
 
2313
         ],
2314
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
2315
        ]
2316
    ],
2317
    'view_helpers' => [
2318
        'factories' => [
2319
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
2320
        ],
2321
        'invokables' => [
2322
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
2323
        ],
2324
        'aliases' => [
2325
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
2326
        ]
2327
    ],
2328
    'controller_plugins' => [
2329
        'invokables' => [],
2330
        'factories' => [
2331
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
2332
        ],
2333
        'aliases' => [
2334
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
2335
        ]
2336
    ],
2337
    'view_manager' => [
2338
        'display_not_found_reason' => true,
2339
        'display_exceptions' => true,
2340
        'doctype' => 'HTML5',
2341
        'not_found_template' => 'error/404',
2342
        'exception_template' => 'error/index',
2343
        'template_map' => [
2344
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
2345
            'error/404' => __DIR__ . '/../view/error/404.phtml',
2346
            'error/index' => __DIR__ . '/../view/error/index.phtml'
2347
        ],
2348
        'template_path_stack' => [
2349
            __DIR__ . '/../view'
2350
        ],
2351
        'strategies' => [
2352
            'ViewJsonStrategy',
2353
            'RenderingStrategy'
2354
        ]
2355
    ]
2356
];
2357