Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 2 | Ir a la última revisión | | 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',
728
                                'action' => 'reports'
729
                            ]
730
                        ],
731
                    ],
732
 
733
                    'content' => [
734
                        'type' => Literal::class,
735
                        'options' => [
736
                            'route' => '/content',
737
                            'defaults' => [
738
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
739
                                'action' => 'index'
740
                            ]
741
                        ],
742
                        'may_terminate' => true,
743
                        'child_routes' => [
744
 
745
                            'topics' => [
746
                                'type' => Literal::class,
747
                                'options' => [
748
                                    'route' => '/topics',
749
                                    'defaults' => [
750
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
751
                                        'action' => 'index'
752
                                    ]
753
                                ],
754
                                'may_terminate' => true,
755
                                'child_routes' => [
756
                                    'add' => [
757
                                        'type' => Literal::class,
758
                                        'options' => [
759
                                            'route' => '/add',
760
                                            'defaults' => [
761
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
762
                                                'action' => 'add'
763
                                            ]
764
                                        ]
765
                                    ],
766
                                    'edit' => [
767
                                        'type' => Segment::class,
768
                                        'options' => [
769
                                            'route' => '/edit/:id',
770
                                            'constraints' => [
771
                                                'id' => '[A-Za-z0-9\-]+\=*'
772
                                            ],
773
                                            'defaults' => [
774
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
775
                                                'action' => 'edit'
776
                                            ]
777
                                        ]
778
                                    ],
779
                                    'delete' => [
780
                                        'type' => Segment::class,
781
                                        'options' => [
782
                                            'route' => '/delete/:id',
783
                                            'constraints' => [
784
                                                'id' => '[A-Za-z0-9\-]+\=*'
785
                                            ],
786
                                            'defaults' => [
787
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
788
                                                'action' => 'delete'
789
                                            ]
790
                                        ]
791
                                    ]
792
                                ]
793
                            ],
794
 
795
                            'capsules' => [
796
                                'type' => Literal::class,
797
                                'options' => [
798
                                    'route' => '/capsules',
799
 
800
                                    'defaults' => [
801
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
802
                                        'action' => 'index'
803
                                    ]
804
                                ],
805
                                'may_terminate' => true,
806
                                'child_routes' => [
807
                                    'add' => [
808
                                        'type' => Segment::class,
809
                                        'options' => [
810
                                            'route' => '/add/topic/:topic_uuid',
811
                                            'constraints' => [
812
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
813
                                            ],
814
                                            'defaults' => [
815
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
816
                                                'action' => 'add'
817
                                            ]
818
                                        ]
819
                                    ],
820
                                    'edit' => [
821
                                        'type' => Segment::class,
822
                                        'options' => [
823
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
824
                                            'constraints' => [
825
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
826
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
827
                                            ],
828
                                            'defaults' => [
829
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
830
                                                'action' => 'edit'
831
                                            ]
832
                                        ]
833
                                    ],
834
                                    'delete' => [
835
                                        'type' => Segment::class,
836
                                        'options' => [
837
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
838
                                            'constraints' => [
839
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
840
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
841
                                            ],
842
                                            'defaults' => [
843
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
844
                                                'action' => 'delete'
845
                                            ]
846
                                        ]
847
                                    ],
848
                                    'users' => [
849
                                        'type' => Segment::class,
850
                                        'options' => [
851
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
852
                                            'constraints' => [
853
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
854
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
855
                                                'type' => 'all|active',
856
                                            ],
857
                                            'defaults' => [
858
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
859
                                                'action' => 'users'
860
                                            ]
861
                                        ]
862
                                    ],
863
                                ]
864
                            ],
865
 
866
 
867
                            'slides' => [
868
                                'type' => Literal::class,
869
                                'options' => [
870
                                    'route' => '/slides',
871
 
872
                                    'defaults' => [
873
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
874
                                        'action' => 'index'
875
                                    ]
876
                                ],
877
                                'may_terminate' => true,
878
                                'child_routes' => [
879
                                    'add' => [
880
                                        'type' => Segment::class,
881
                                        'options' => [
882
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
883
                                            'constraints' => [
884
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
885
                                            ],
886
                                            'defaults' => [
887
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
888
                                                'action' => 'add'
889
                                            ]
890
                                        ]
891
                                    ],
892
                                    'edit' => [
893
                                        'type' => Segment::class,
894
                                        'options' => [
895
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
896
                                            'constraints' => [
897
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
898
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
899
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
900
                                            ],
901
                                            'defaults' => [
902
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
903
                                                'action' => 'edit'
904
                                            ]
905
                                        ]
906
                                    ],
907
                                    'delete' => [
908
                                        'type' => Segment::class,
909
                                        'options' => [
910
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
911
                                            'constraints' => [
912
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
913
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
914
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
915
                                            ],
916
                                            'defaults' => [
917
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
918
                                                'action' => 'delete'
919
                                            ]
920
                                        ]
921
                                    ],
922
 
923
                                    'text' => [
924
                                        'type' => Segment::class,
925
                                        'options' => [
926
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
927
                                            'constraints' => [
928
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
929
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
930
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
931
                                            ],
932
                                            'defaults' => [
933
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
934
                                                'action' => 'text'
935
                                            ]
936
                                        ]
937
                                    ],
938
 
939
                                ]
940
                            ],
941
                        ],
942
                     ],
943
 
944
                    'students' => [
945
                        'type' => Literal::class,
946
                        'options' => [
947
                            'route' => '/students',
948
                            'defaults' => [
949
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
950
                                'action' => 'index'
951
                            ]
952
                        ],
953
                        'may_terminate' => true,
954
                        'child_routes' => [
955
                            'edit' => [
956
                                'type' => Segment::class,
957
                                'options' => [
958
                                    'route' => '/edit/:id',
959
                                    'constraints' => [
960
                                        'id' => '[A-Za-z0-9\-]+\=*',
961
                                    ],
962
                                    'defaults' => [
963
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
964
                                        'action' => 'edit'
965
                                    ]
966
                                ]
967
                            ],
968
                            'timeline' => [
969
                                'type' => Segment::class,
970
                                'options' => [
971
                                    'route' => '/timeline/:id',
972
                                    'constraints' => [
973
                                        'id' => '[A-Za-z0-9\-]+\=*',
974
                                    ],
975
                                    'defaults' => [
976
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
977
                                        'action' => 'timeline'
978
                                    ]
979
                                ]
980
                            ],
981
                            'change-password' => [
982
                                'type' => Segment::class,
983
                                'options' => [
984
                                    'route' => '/change-password/:id',
985
                                    'constraints' => [
986
                                        'id' => '[A-Za-z0-9\-]+\=*'
987
                                    ],
988
                                    'defaults' => [
989
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
990
                                        'action' => 'change-password'
991
                                    ]
992
                                ]
993
                            ],
994
                            'unblock' => [
995
                                'type' => Segment::class,
996
                                'options' => [
997
                                    'route' => '/unblock/:id',
998
                                    'constraints' => [
999
                                        'id' => '[A-Za-z0-9\-]+\=*'
1000
                                    ],
1001
                                    'defaults' => [
1002
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1003
                                        'action' => 'unblock'
1004
                                    ]
1005
                                ]
1006
                            ],
1007
 
1008
                       ]
1009
                    ],
1010
                    'access-for-students' => [
1011
                        'type' => Literal::class,
1012
                        'options' => [
1013
                            'route' => '/access-for-students',
1014
                            'defaults' => [
1015
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1016
                                'action' => 'index'
1017
                            ]
1018
                        ],
1019
                        'may_terminate' => true,
1020
                        'child_routes' => [
1021
                            'revoke' => [
1022
                                'type' => Segment::class,
1023
                                'options' => [
1024
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1025
                                    'constraints' => [
1026
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1027
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1028
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1029
                                    ],
1030
                                    'defaults' => [
1031
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1032
                                        'action' => 'revoke'
1033
                                    ]
1034
                                ]
1035
                            ],
1036
                            'unlimit' => [
1037
                                'type' => Segment::class,
1038
                                'options' => [
1039
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1040
                                    'constraints' => [
1041
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1042
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1043
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1044
                                    ],
1045
                                    'defaults' => [
1046
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1047
                                        'action' => 'unlimit'
1048
                                    ]
1049
                                ]
1050
                            ],
1051
 
1052
                            'upload' => [
1053
                                'type' => Segment::class,
1054
                                'options' => [
1055
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1056
                                    'constraints' => [
1057
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1058
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1059
                                    ],
1060
                                    'defaults' => [
1061
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1062
                                        'action' => 'upload'
1063
                                    ]
1064
                                ]
1065
                            ],
1066
 
1067
                            'notification' => [
1068
                                'type' => Segment::class,
1069
                                'options' => [
1070
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1071
                                    'constraints' => [
1072
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1073
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1074
                                    ],
1075
                                    'defaults' => [
1076
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1077
                                        'action' => 'notification'
1078
                                    ]
1079
                                ]
1080
                            ],
1081
 
1082
 
1083
                        ],
1084
                    ],
1085
 
1086
 
1087
 
1088
                    'settings' => [
1089
                        'type' => Literal::class,
1090
                        'options' => [
1091
                            'route' => '/settings',
1092
                            'defaults' => [
1093
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1094
                                'action' => 'index'
1095
                            ]
1096
                        ],
1097
                        'may_terminate' => true,
1098
                        'child_routes' => [
1099
 
1100
                            'student-types' => [
1101
                                'type' => Literal::class,
1102
                                'options' => [
1103
                                    'route' => '/student-types',
1104
                                    'defaults' => [
1105
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1106
                                        'action' => 'index'
1107
                                    ]
1108
                                ],
1109
                                'may_terminate' => true,
1110
                                'child_routes' => [
1111
                                    'add' => [
1112
                                        'type' => Literal::class,
1113
                                        'options' => [
1114
                                            'route' => '/add',
1115
                                            'defaults' => [
1116
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1117
                                                'action' => 'add'
1118
                                            ]
1119
                                        ]
1120
                                    ],
1121
                                    'edit' => [
1122
                                        'type' => Segment::class,
1123
                                        'options' => [
1124
                                            'route' => '/edit/:id',
1125
                                            'constraints' => [
1126
                                                'id' => '[A-Za-z0-9\-]+\=*'
1127
                                            ],
1128
                                            'defaults' => [
1129
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1130
                                                'action' => 'edit'
1131
                                            ]
1132
                                        ]
1133
                                    ],
1134
                                    'delete' => [
1135
                                        'type' => Segment::class,
1136
                                        'options' => [
1137
                                            'route' => '/delete/:id',
1138
                                            'constraints' => [
1139
                                                'id' => '[A-Za-z0-9\-]+\=*'
1140
                                            ],
1141
                                            'defaults' => [
1142
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1143
                                                'action' => 'delete'
1144
                                            ]
1145
                                        ]
1146
                                    ]
1147
                                ]
1148
                            ],
1149
 
1150
 
1151
 
1152
                            'functions' => [
1153
                                'type' => Literal::class,
1154
                                'options' => [
1155
                                    'route' => '/functions',
1156
                                    'defaults' => [
1157
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1158
                                        'action' => 'index'
1159
                                    ]
1160
                                ],
1161
                                'may_terminate' => true,
1162
                                'child_routes' => [
1163
                                    'add' => [
1164
                                        'type' => Literal::class,
1165
                                        'options' => [
1166
                                            'route' => '/add',
1167
                                            'defaults' => [
1168
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1169
                                                'action' => 'add'
1170
                                            ]
1171
                                        ]
1172
                                    ],
1173
                                    'edit' => [
1174
                                        'type' => Segment::class,
1175
                                        'options' => [
1176
                                            'route' => '/edit/:id',
1177
                                            'constraints' => [
1178
                                                'id' => '[A-Za-z0-9\-]+\=*'
1179
                                            ],
1180
                                            'defaults' => [
1181
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1182
                                                'action' => 'edit'
1183
                                            ]
1184
                                        ]
1185
                                    ],
1186
                                    'delete' => [
1187
                                        'type' => Segment::class,
1188
                                        'options' => [
1189
                                            'route' => '/delete/:id',
1190
                                            'constraints' => [
1191
                                                'id' => '[A-Za-z0-9\-]+\=*'
1192
                                            ],
1193
                                            'defaults' => [
1194
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1195
                                                'action' => 'delete'
1196
                                            ]
1197
                                        ]
1198
                                    ]
1199
                                ]
1200
                            ],
1201
 
1202
                            'sectors' => [
1203
                                'type' => Literal::class,
1204
                                'options' => [
1205
                                    'route' => '/sectors',
1206
                                    'defaults' => [
1207
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1208
                                        'action' => 'index'
1209
                                    ]
1210
                                ],
1211
                                'may_terminate' => true,
1212
                                'child_routes' => [
1213
                                    'add' => [
1214
                                        'type' => Literal::class,
1215
                                        'options' => [
1216
                                            'route' => '/add',
1217
                                            'defaults' => [
1218
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1219
                                                'action' => 'add'
1220
                                            ]
1221
                                        ]
1222
                                    ],
1223
                                    'edit' => [
1224
                                        'type' => Segment::class,
1225
                                        'options' => [
1226
                                            'route' => '/edit/:id',
1227
                                            'constraints' => [
1228
                                                'id' => '[A-Za-z0-9\-]+\=*'
1229
                                            ],
1230
                                            'defaults' => [
1231
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1232
                                                'action' => 'edit'
1233
                                            ]
1234
                                        ]
1235
                                    ],
1236
                                    'delete' => [
1237
                                        'type' => Segment::class,
1238
                                        'options' => [
1239
                                            'route' => '/delete/:id',
1240
                                            'constraints' => [
1241
                                                'id' => '[A-Za-z0-9\-]+\=*'
1242
                                            ],
1243
                                            'defaults' => [
1244
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1245
                                                'action' => 'delete'
1246
                                            ]
1247
                                        ]
1248
                                    ]
1249
                                ]
1250
                            ],
1251
 
1252
                            'programs' => [
1253
                                'type' => Literal::class,
1254
                                'options' => [
1255
                                    'route' => '/programs',
1256
                                    'defaults' => [
1257
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1258
                                        'action' => 'index'
1259
                                    ]
1260
                                ],
1261
                                'may_terminate' => true,
1262
                                'child_routes' => [
1263
                                    'add' => [
1264
                                        'type' => Literal::class,
1265
                                        'options' => [
1266
                                            'route' => '/add',
1267
                                            'defaults' => [
1268
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1269
                                                'action' => 'add'
1270
                                            ]
1271
                                        ]
1272
                                    ],
1273
                                    'edit' => [
1274
                                        'type' => Segment::class,
1275
                                        'options' => [
1276
                                            'route' => '/edit/:id',
1277
                                            'constraints' => [
1278
                                                'id' => '[A-Za-z0-9\-]+\=*'
1279
                                            ],
1280
                                            'defaults' => [
1281
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1282
                                                'action' => 'edit'
1283
                                            ]
1284
                                        ]
1285
                                    ],
1286
                                    'delete' => [
1287
                                        'type' => Segment::class,
1288
                                        'options' => [
1289
                                            'route' => '/delete/:id',
1290
                                            'constraints' => [
1291
                                                'id' => '[A-Za-z0-9\-]+\=*'
1292
                                            ],
1293
                                            'defaults' => [
1294
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1295
                                                'action' => 'delete'
1296
                                            ]
1297
                                        ]
1298
                                    ]
1299
                                ]
1300
                            ],
1301
 
1302
                            'groups' => [
1303
                                'type' => Literal::class,
1304
                                'options' => [
1305
                                    'route' => '/groups',
1306
                                    'defaults' => [
1307
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1308
                                        'action' => 'index'
1309
                                    ]
1310
                                ],
1311
                                'may_terminate' => true,
1312
                                'child_routes' => [
1313
                                    'add' => [
1314
                                        'type' => Literal::class,
1315
                                        'options' => [
1316
                                            'route' => '/add',
1317
                                            'defaults' => [
1318
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1319
                                                'action' => 'add'
1320
                                            ]
1321
                                        ]
1322
                                    ],
1323
                                    'edit' => [
1324
                                        'type' => Segment::class,
1325
                                        'options' => [
1326
                                            'route' => '/edit/:id',
1327
                                            'constraints' => [
1328
                                                'id' => '[A-Za-z0-9\-]+\=*'
1329
                                            ],
1330
                                            'defaults' => [
1331
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1332
                                                'action' => 'edit'
1333
                                            ]
1334
                                        ]
1335
                                    ],
1336
                                    'delete' => [
1337
                                        'type' => Segment::class,
1338
                                        'options' => [
1339
                                            'route' => '/delete/:id',
1340
                                            'constraints' => [
1341
                                                'id' => '[A-Za-z0-9\-]+\=*'
1342
                                            ],
1343
                                            'defaults' => [
1344
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1345
                                                'action' => 'delete'
1346
                                            ]
1347
                                        ]
1348
                                    ]
1349
                                ]
1350
                            ],
1351
 
1352
                            'companies' => [
1353
                                'type' => Literal::class,
1354
                                'options' => [
1355
                                    'route' => '/companies',
1356
                                    'defaults' => [
1357
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1358
                                        'action' => 'index'
1359
                                    ]
1360
                                ],
1361
                                'may_terminate' => true,
1362
                                'child_routes' => [
1363
                                    'add' => [
1364
                                        'type' => Literal::class,
1365
                                        'options' => [
1366
                                            'route' => '/add',
1367
                                            'defaults' => [
1368
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1369
                                                'action' => 'add'
1370
                                            ]
1371
                                        ]
1372
                                    ],
1373
                                    'edit' => [
1374
                                        'type' => Segment::class,
1375
                                        'options' => [
1376
                                            'route' => '/edit/:id',
1377
                                            'constraints' => [
1378
                                                'id' => '[A-Za-z0-9\-]+\=*'
1379
                                            ],
1380
                                            'defaults' => [
1381
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1382
                                                'action' => 'edit'
1383
                                            ]
1384
                                        ]
1385
                                    ],
1386
                                    'delete' => [
1387
                                        'type' => Segment::class,
1388
                                        'options' => [
1389
                                            'route' => '/delete/:id',
1390
                                            'constraints' => [
1391
                                                'id' => '[A-Za-z0-9\-]+\=*'
1392
                                            ],
1393
                                            'defaults' => [
1394
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1395
                                                'action' => 'delete'
1396
                                            ]
1397
                                        ]
1398
                                    ]
1399
                                ]
1400
                            ],
1401
 
1402
                            'partners' => [
1403
                                'type' => Literal::class,
1404
                                'options' => [
1405
                                    'route' => '/partners',
1406
                                    'defaults' => [
1407
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1408
                                        'action' => 'index'
1409
                                    ]
1410
                                ],
1411
                                'may_terminate' => true,
1412
                                'child_routes' => [
1413
                                    'add' => [
1414
                                        'type' => Literal::class,
1415
                                        'options' => [
1416
                                            'route' => '/add',
1417
                                            'defaults' => [
1418
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1419
                                                'action' => 'add'
1420
                                            ]
1421
                                        ]
1422
                                    ],
1423
                                    'edit' => [
1424
                                        'type' => Segment::class,
1425
                                        'options' => [
1426
                                            'route' => '/edit/:id',
1427
                                            'constraints' => [
1428
                                                'id' => '[A-Za-z0-9\-]+\=*'
1429
                                            ],
1430
                                            'defaults' => [
1431
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1432
                                                'action' => 'edit'
1433
                                            ]
1434
                                        ]
1435
                                    ],
1436
                                    'delete' => [
1437
                                        'type' => Segment::class,
1438
                                        'options' => [
1439
                                            'route' => '/delete/:id',
1440
                                            'constraints' => [
1441
                                                'id' => '[A-Za-z0-9\-]+\=*'
1442
                                            ],
1443
                                            'defaults' => [
1444
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1445
                                                'action' => 'delete'
1446
                                            ]
1447
                                        ]
1448
                                    ]
1449
                                ]
1450
                            ],
1451
 
1452
                            'institutions' => [
1453
                                'type' => Literal::class,
1454
                                'options' => [
1455
                                    'route' => '/institutions',
1456
                                    'defaults' => [
1457
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1458
                                        'action' => 'index'
1459
                                    ]
1460
                                ],
1461
                                'may_terminate' => true,
1462
                                'child_routes' => [
1463
                                    'add' => [
1464
                                        'type' => Literal::class,
1465
                                        'options' => [
1466
                                            'route' => '/add',
1467
                                            'defaults' => [
1468
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1469
                                                'action' => 'add'
1470
                                            ]
1471
                                        ]
1472
                                    ],
1473
                                    'edit' => [
1474
                                        'type' => Segment::class,
1475
                                        'options' => [
1476
                                            'route' => '/edit/:id',
1477
                                            'constraints' => [
1478
                                                'id' => '[A-Za-z0-9\-]+\=*'
1479
                                            ],
1480
                                            'defaults' => [
1481
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1482
                                                'action' => 'edit'
1483
                                            ]
1484
                                        ]
1485
                                    ],
1486
                                    'delete' => [
1487
                                        'type' => Segment::class,
1488
                                        'options' => [
1489
                                            'route' => '/delete/:id',
1490
                                            'constraints' => [
1491
                                                'id' => '[A-Za-z0-9\-]+\=*'
1492
                                            ],
1493
                                            'defaults' => [
1494
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1495
                                                'action' => 'delete'
1496
                                            ]
1497
                                        ]
1498
                                    ]
1499
                                ]
1500
                            ],
1501
 
1502
 
1503
                        ]
1504
                     ],
1505
 
1506
 
1507
 
1508
 
1509
                ],
1510
 
1511
            ],
1512
 
1513
 
1514
 
1515
            /*** START PUBLICATIONS ***/
1516
            'publications' => [
1517
                'type' => Literal::class,
1518
                'options' => [
1519
                    'route' => '/publications',
1520
                    'defaults' => [
1521
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1522
                        'action' => 'index'
1523
                    ]
1524
                ],
1525
                'may_terminate' => true,
1526
                'child_routes' => [
1527
 
1528
                    'pages' => [
1529
                        'type' => Literal::class,
1530
                        'options' => [
1531
                            'route' => '/pages',
1532
                            'defaults' => [
1533
                                'controller' => '\LeadersLinked\Controller\PageController',
1534
                                'action' => 'index'
1535
                            ]
1536
                        ],
1537
                        'may_terminate' => true,
1538
                        'child_routes' => [
1539
                            'add' => [
1540
                                'type' => Literal::class,
1541
                                'options' => [
1542
                                    'route' => '/add',
1543
                                    'defaults' => [
1544
                                        'controller' => '\LeadersLinked\Controller\PageController',
1545
                                        'action' => 'add'
1546
                                    ]
1547
                                ]
1548
                            ],
1549
                            'edit' => [
1550
                                'type' => Segment::class,
1551
                                'options' => [
1552
                                    'route' => '/edit/:id',
1553
                                    'constraints' => [
1554
                                        'id' => '[A-Za-z0-9\-]+\=*'
1555
                                    ],
1556
                                    'defaults' => [
1557
                                        'controller' => '\LeadersLinked\Controller\PageController',
1558
                                        'action' => 'edit'
1559
                                    ]
1560
                                ]
1561
                            ],
1562
                            'delete' => [
1563
                                'type' => Segment::class,
1564
                                'options' => [
1565
                                    'route' => '/delete/:id',
1566
                                    'constraints' => [
1567
                                        'id' => '[A-Za-z0-9\-]+\=*'
1568
                                    ],
1569
                                    'defaults' => [
1570
                                        'controller' => '\LeadersLinked\Controller\PageController',
1571
                                        'action' => 'delete'
1572
                                    ]
1573
                                ]
1574
                            ]
1575
                        ]
1576
                    ],
1577
 
1578
                    'posts' => [
1579
                        'type' => Literal::class,
1580
                        'options' => [
1581
                            'route' => '/posts',
1582
                            'defaults' => [
1583
                                'controller' => '\LeadersLinked\Controller\PostController',
1584
                                'action' => 'index'
1585
                            ]
1586
                        ],
1587
                        'may_terminate' => true,
1588
                        'child_routes' => [
1589
                            'add' => [
1590
                                'type' => Literal::class,
1591
                                'options' => [
1592
                                    'route' => '/add',
1593
                                    'defaults' => [
1594
                                        'controller' => '\LeadersLinked\Controller\PostController',
1595
                                        'action' => 'add'
1596
                                    ]
1597
                                ]
1598
                            ],
1599
                            'edit' => [
1600
                                'type' => Segment::class,
1601
                                'options' => [
1602
                                    'route' => '/edit/:id',
1603
                                    'constraints' => [
1604
                                        'id' => '[A-Za-z0-9\-]+\=*'
1605
                                    ],
1606
                                    'defaults' => [
1607
                                        'controller' => '\LeadersLinked\Controller\PostController',
1608
                                        'action' => 'edit'
1609
                                    ]
1610
                                ]
1611
                            ],
1612
                            'delete' => [
1613
                                'type' => Segment::class,
1614
                                'options' => [
1615
                                    'route' => '/delete/:id',
1616
                                    'constraints' => [
1617
                                        'id' => '[A-Za-z0-9\-]+\=*'
1618
                                    ],
1619
                                    'defaults' => [
1620
                                        'controller' => '\LeadersLinked\Controller\PostController',
1621
                                        'action' => 'delete'
1622
                                    ]
1623
                                ]
1624
                            ]
1625
                        ]
1626
                    ],
1627
 
1628
 
1629
 
1630
                ]
1631
            ],
1632
 
1633
            /*** START SETTINGS ***/
1634
            'settings' => [
1635
                'type' => Literal::class,
1636
                'options' => [
1637
                    'route' => '/settings',
1638
                    'defaults' => [
1639
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1640
                        'action' => 'index'
1641
                    ]
1642
                ],
1643
                'may_terminate' => true,
1644
                'child_routes' => [
1645
 
1646
                    'company-sizes' => [
1647
                        'type' => Literal::class,
1648
                        'options' => [
1649
                            'route' => '/company-sizes',
1650
                            'defaults' => [
1651
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
1652
                                'action' => 'index'
1653
                            ]
1654
                        ],
1655
                        'may_terminate' => true,
1656
                        'child_routes' => [
1657
                            'add' => [
1658
                                'type' => Literal::class,
1659
                                'options' => [
1660
                                    'route' => '/add',
1661
                                    'defaults' => [
1662
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1663
                                        'action' => 'add'
1664
                                    ]
1665
                                ]
1666
                            ],
1667
                            'edit' => [
1668
                                'type' => Segment::class,
1669
                                'options' => [
1670
                                    'route' => '/edit/:id',
1671
                                    'constraints' => [
1672
                                        'id' => '[A-Za-z0-9\-]+\=*'
1673
                                    ],
1674
                                    'defaults' => [
1675
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1676
                                        'action' => 'edit'
1677
                                    ]
1678
                                ]
1679
                            ],
1680
                            'delete' => [
1681
                                'type' => Segment::class,
1682
                                'options' => [
1683
                                    'route' => '/delete/:id',
1684
                                    'constraints' => [
1685
                                        'id' => '[A-Za-z0-9\-]+\=*'
1686
                                    ],
1687
                                    'defaults' => [
1688
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
1689
                                        'action' => 'delete'
1690
                                    ]
1691
                                ]
1692
                            ]
1693
                        ]
1694
                    ],
1695
 
1696
 
1697
                    'competency-types' => [
1698
                        'type' => Literal::class,
1699
                        'options' => [
1700
                            'route' => '/competency-types',
1701
                            'defaults' => [
1702
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1703
                                'action' => 'index'
1704
                            ]
1705
                        ],
1706
                        'may_terminate' => true,
1707
                        'child_routes' => [
1708
                            'add' => [
1709
                                'type' => Literal::class,
1710
                                'options' => [
1711
                                    'route' => '/add',
1712
                                    'defaults' => [
1713
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1714
                                        'action' => 'add'
1715
                                    ]
1716
                                ]
1717
                            ],
1718
                            'edit' => [
1719
                                'type' => Segment::class,
1720
                                'options' => [
1721
                                    'route' => '/edit/:id',
1722
                                    'constraints' => [
1723
                                        'id' => '[A-Za-z0-9\-]+\=*'
1724
                                    ],
1725
                                    'defaults' => [
1726
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1727
                                        'action' => 'edit'
1728
                                    ]
1729
                                ]
1730
                            ],
1731
                            'delete' => [
1732
                                'type' => Segment::class,
1733
                                'options' => [
1734
                                    'route' => '/delete/:id',
1735
                                    'constraints' => [
1736
                                        'id' => '[A-Za-z0-9\-]+\=*'
1737
                                    ],
1738
                                    'defaults' => [
1739
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
1740
                                        'action' => 'delete'
1741
                                    ]
1742
                                ]
1743
                            ]
1744
                        ]
1745
                    ],
1746
 
1747
                    'competencies' => [
1748
                        'type' => Literal::class,
1749
                        'options' => [
1750
                            'route' => '/competencies',
1751
                            'defaults' => [
1752
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
1753
                                'action' => 'index'
1754
                            ]
1755
                        ],
1756
                        'may_terminate' => true,
1757
                        'child_routes' => [
1758
                            'add' => [
1759
                                'type' => Literal::class,
1760
                                'options' => [
1761
                                    'route' => '/add',
1762
                                    'defaults' => [
1763
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1764
                                        'action' => 'add'
1765
                                    ]
1766
                                ]
1767
                            ],
1768
                            'edit' => [
1769
                                'type' => Segment::class,
1770
                                'options' => [
1771
                                    'route' => '/edit/:id',
1772
                                    'constraints' => [
1773
                                        'id' => '[A-Za-z0-9\-]+\=*'
1774
                                    ],
1775
                                    'defaults' => [
1776
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1777
                                        'action' => 'edit'
1778
                                    ]
1779
                                ]
1780
                            ],
1781
                            'delete' => [
1782
                                'type' => Segment::class,
1783
                                'options' => [
1784
                                    'route' => '/delete/:id',
1785
                                    'constraints' => [
1786
                                        'id' => '[A-Za-z0-9\-]+\=*'
1787
                                    ],
1788
                                    'defaults' => [
1789
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
1790
                                        'action' => 'delete'
1791
                                    ]
1792
                                ]
1793
                            ]
1794
                        ]
1795
                    ],
1796
 
1797
                    'degrees' => [
1798
                        'type' => Literal::class,
1799
                        'options' => [
1800
                            'route' => '/degrees',
1801
                            'defaults' => [
1802
                                'controller' => '\LeadersLinked\Controller\DegreeController',
1803
                                'action' => 'index'
1804
                            ]
1805
                        ],
1806
                        'may_terminate' => true,
1807
                        'child_routes' => [
1808
                            'add' => [
1809
                                'type' => Literal::class,
1810
                                'options' => [
1811
                                    'route' => '/add',
1812
                                    'defaults' => [
1813
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1814
                                        'action' => 'add'
1815
                                    ]
1816
                                ]
1817
                            ],
1818
                            'edit' => [
1819
                                'type' => Segment::class,
1820
                                'options' => [
1821
                                    'route' => '/edit/:id',
1822
                                    'constraints' => [
1823
                                        'id' => '[A-Za-z0-9\-]+\=*'
1824
                                    ],
1825
                                    'defaults' => [
1826
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1827
                                        'action' => 'edit'
1828
                                    ]
1829
                                ]
1830
                            ],
1831
                            'delete' => [
1832
                                'type' => Segment::class,
1833
                                'options' => [
1834
                                    'route' => '/delete/:id',
1835
                                    'constraints' => [
1836
                                        'id' => '[A-Za-z0-9\-]+\=*'
1837
                                    ],
1838
                                    'defaults' => [
1839
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
1840
                                        'action' => 'delete'
1841
                                    ]
1842
                                ]
1843
                            ]
1844
                        ]
1845
                    ],
1846
 
1847
                    'group-types' => [
1848
                        'type' => Literal::class,
1849
                        'options' => [
1850
                            'route' => '/competency-types',
1851
                            'defaults' => [
1852
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
1853
                                'action' => 'index'
1854
                            ]
1855
                        ],
1856
                        'may_terminate' => true,
1857
                        'child_routes' => [
1858
                            'add' => [
1859
                                'type' => Literal::class,
1860
                                'options' => [
1861
                                    'route' => '/add',
1862
                                    'defaults' => [
1863
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1864
                                        'action' => 'add'
1865
                                    ]
1866
                                ]
1867
                            ],
1868
                            'edit' => [
1869
                                'type' => Segment::class,
1870
                                'options' => [
1871
                                    'route' => '/edit/:id',
1872
                                    'constraints' => [
1873
                                        'id' => '[A-Za-z0-9\-]+\=*'
1874
                                    ],
1875
                                    'defaults' => [
1876
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1877
                                        'action' => 'edit'
1878
                                    ]
1879
                                ]
1880
                            ],
1881
                            'delete' => [
1882
                                'type' => Segment::class,
1883
                                'options' => [
1884
                                    'route' => '/delete/:id',
1885
                                    'constraints' => [
1886
                                        'id' => '[A-Za-z0-9\-]+\=*'
1887
                                    ],
1888
                                    'defaults' => [
1889
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1890
                                        'action' => 'delete'
1891
                                    ]
1892
                                ]
1893
                            ]
1894
                        ]
1895
                    ],
1896
 
1897
 
1898
                    'industries' => [
1899
                        'type' => Literal::class,
1900
                        'options' => [
1901
                            'route' => '/industries',
1902
                            'defaults' => [
1903
                                'controller' => '\LeadersLinked\Controller\IndustryController',
1904
                                'action' => 'index'
1905
                            ]
1906
                        ],
1907
                        'may_terminate' => true,
1908
                        'child_routes' => [
1909
                            'add' => [
1910
                                'type' => Literal::class,
1911
                                'options' => [
1912
                                    'route' => '/add',
1913
                                    'defaults' => [
1914
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1915
                                        'action' => 'add'
1916
                                    ]
1917
                                ]
1918
                            ],
1919
                            'edit' => [
1920
                                'type' => Segment::class,
1921
                                'options' => [
1922
                                    'route' => '/edit/:id',
1923
                                    'constraints' => [
1924
                                        'id' => '[A-Za-z0-9\-]+\=*'
1925
                                    ],
1926
                                    'defaults' => [
1927
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1928
                                        'action' => 'edit'
1929
                                    ]
1930
                                ]
1931
                            ],
1932
                            'delete' => [
1933
                                'type' => Segment::class,
1934
                                'options' => [
1935
                                    'route' => '/delete/:id',
1936
                                    'constraints' => [
1937
                                        'id' => '[A-Za-z0-9\-]+\=*'
1938
                                    ],
1939
                                    'defaults' => [
1940
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
1941
                                        'action' => 'delete'
1942
                                    ]
1943
                                ]
1944
                            ]
1945
                        ]
1946
                    ],
1947
 
1948
 
1949
                    'group-types' => [
1950
                        'type' => Literal::class,
1951
                        'options' => [
1952
                            'route' => '/group-types',
1953
                            'defaults' => [
1954
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
1955
                                'action' => 'index'
1956
                            ]
1957
                        ],
1958
                        'may_terminate' => true,
1959
                        'child_routes' => [
1960
                            'add' => [
1961
                                'type' => Literal::class,
1962
                                'options' => [
1963
                                    'route' => '/add',
1964
                                    'defaults' => [
1965
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1966
                                        'action' => 'add'
1967
                                    ]
1968
                                ]
1969
                            ],
1970
                            'edit' => [
1971
                                'type' => Segment::class,
1972
                                'options' => [
1973
                                    'route' => '/edit/:id',
1974
                                    'constraints' => [
1975
                                        'id' => '[A-Za-z0-9\-]+\=*'
1976
                                    ],
1977
                                    'defaults' => [
1978
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1979
                                        'action' => 'edit'
1980
                                    ]
1981
                                ]
1982
                            ],
1983
                            'delete' => [
1984
                                'type' => Segment::class,
1985
                                'options' => [
1986
                                    'route' => '/delete/:id',
1987
                                    'constraints' => [
1988
                                        'id' => '[A-Za-z0-9\-]+\=*'
1989
                                    ],
1990
                                    'defaults' => [
1991
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
1992
                                        'action' => 'delete'
1993
                                    ]
1994
                                ]
1995
                            ]
1996
                        ]
1997
                    ],
1998
 
1999
                    'job-categories' => [
2000
                        'type' => Literal::class,
2001
                        'options' => [
2002
                            'route' => '/job-categories',
2003
                            'defaults' => [
2004
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2005
                                'action' => 'index'
2006
                            ]
2007
                        ],
2008
                        'may_terminate' => true,
2009
                        'child_routes' => [
2010
                            'add' => [
2011
                                'type' => Literal::class,
2012
                                'options' => [
2013
                                    'route' => '/add',
2014
                                    'defaults' => [
2015
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2016
                                        'action' => 'add'
2017
                                    ]
2018
                                ]
2019
                            ],
2020
                            'edit' => [
2021
                                'type' => Segment::class,
2022
                                'options' => [
2023
                                    'route' => '/edit/:id',
2024
                                    'constraints' => [
2025
                                        'id' => '[A-Za-z0-9\-]+\=*'
2026
                                    ],
2027
                                    'defaults' => [
2028
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2029
                                        'action' => 'edit'
2030
                                    ]
2031
                                ]
2032
                            ],
2033
                            'delete' => [
2034
                                'type' => Segment::class,
2035
                                'options' => [
2036
                                    'route' => '/delete/:id',
2037
                                    'constraints' => [
2038
                                        'id' => '[A-Za-z0-9\-]+\=*'
2039
                                    ],
2040
                                    'defaults' => [
2041
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2042
                                        'action' => 'delete'
2043
                                    ]
2044
                                ]
2045
                            ]
2046
                        ]
2047
                    ],
2048
 
2049
 
2050
 
2051
                    'email-templates' => [
2052
                        'type' => Literal::class,
2053
                        'options' => [
2054
                            'route' => '/email-templates',
2055
                            'defaults' => [
2056
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2057
                                'action' => 'index'
2058
                            ]
2059
                        ],
2060
                        'may_terminate' => true,
2061
                        'child_routes' => [
2062
                            'edit' => [
2063
                                'type' => Segment::class,
2064
                                'options' => [
2065
                                    'route' => '/edit/:id',
2066
                                    'constraints' => [
2067
                                        'id' => '[A-Za-z0-9\-]+\=*'
2068
                                    ],
2069
                                    'defaults' => [
2070
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2071
                                        'action' => 'edit'
2072
                                    ]
2073
                                ]
2074
                            ],
2075
                        ]
2076
                    ],
2077
 
2078
                    'push-templates' => [
2079
                        'type' => Literal::class,
2080
                        'options' => [
2081
                            'route' => '/push-templates',
2082
                            'defaults' => [
2083
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2084
                                'action' => 'index'
2085
                            ]
2086
                        ],
2087
                        'may_terminate' => true,
2088
                        'child_routes' => [
2089
                            'edit' => [
2090
                                'type' => Segment::class,
2091
                                'options' => [
2092
                                    'route' => '/edit/:id',
2093
                                    'constraints' => [
2094
                                        'id' => '[A-Za-z0-9\-]+\=*'
2095
                                    ],
2096
                                    'defaults' => [
2097
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2098
                                        'action' => 'edit'
2099
                                    ]
2100
                                ]
2101
                            ],
2102
                        ]
2103
                    ],
2104
 
2105
                    'skills' => [
2106
                        'type' => Literal::class,
2107
                        'options' => [
2108
                            'route' => '/skills',
2109
                            'defaults' => [
2110
                                'controller' => '\LeadersLinked\Controller\SkillController',
2111
                                'action' => 'index'
2112
                            ]
2113
                        ],
2114
                        'may_terminate' => true,
2115
                        'child_routes' => [
2116
                            'add' => [
2117
                                'type' => Literal::class,
2118
                                'options' => [
2119
                                    'route' => '/add',
2120
                                    'defaults' => [
2121
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2122
                                        'action' => 'add'
2123
                                    ]
2124
                                ]
2125
                            ],
2126
                            'edit' => [
2127
                                'type' => Segment::class,
2128
                                'options' => [
2129
                                    'route' => '/edit/:id',
2130
                                    'constraints' => [
2131
                                        'id' => '[A-Za-z0-9\-]+\=*'
2132
                                    ],
2133
                                    'defaults' => [
2134
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2135
                                        'action' => 'edit'
2136
                                    ]
2137
                                ]
2138
                            ],
2139
                            'delete' => [
2140
                                'type' => Segment::class,
2141
                                'options' => [
2142
                                    'route' => '/delete/:id',
2143
                                    'constraints' => [
2144
                                        'id' => '[A-Za-z0-9\-]+\=*'
2145
                                    ],
2146
                                    'defaults' => [
2147
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2148
                                        'action' => 'delete'
2149
                                    ]
2150
                                ]
2151
                            ]
2152
                        ]
2153
                    ],
2154
 
2155
                ]
2156
            ],
2157
 
2158
 
2159
 
2160
 
2161
 
2162
            /*** FIN SETTINGS ***/
2163
 
2164
 
2165
 
2166
        ]
2167
    ],
2168
 
2169
    'controllers' => [
2170
        'factories' => [
2171
 
2172
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2173
 
2174
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2175
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
2176
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2177
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2178
 
2179
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2180
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
2181
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
2182
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
2183
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
2184
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
2185
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
2186
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
2187
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
2188
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
2189
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
2190
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
2191
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
2192
 
2193
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
2194
 
2195
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
2196
 
2197
 
2198
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
2199
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
2200
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
2201
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
2202
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
2203
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
2204
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
2205
 
2206
 
2207
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
2208
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
2209
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
2210
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
2211
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
2212
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
2213
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
2214
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
2215
 
2216
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
2217
 
2218
        ],
2219
 
2220
        'aliases' => [
2221
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
2222
 
2223
 
2224
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
2225
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
2226
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
2227
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2228
 
2229
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
2230
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
2231
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
2232
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
2233
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
2234
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
2235
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
2236
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
2237
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
2238
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
2239
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
2240
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
2241
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
2242
 
2243
 
2244
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
2245
 
2246
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
2247
 
2248
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
2249
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
2250
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
2251
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
2252
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
2253
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
2254
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
2255
 
2256
 
2257
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
2258
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
2259
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
2260
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
2261
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
2262
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
2263
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
2264
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
2265
 
2266
 
2267
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
2268
 
2269
        ]
2270
    ],
2271
 
2272
    'laminas-cli' => [
2273
        'commands' => [
2274
 
2275
      ]
2276
    ],
2277
 
2278
    'service_manager' => [
2279
        'abstract_factories' => [
2280
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
2281
        ],
2282
        'factories' => [
2283
            'RenderingStrategy' => function ($container) {
2284
                $translator = $container->get('MvcTranslator');
2285
                return new \LeadersLinked\View\RenderingStrategy($translator);
2286
            },
2287
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
2288
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
2289
 
2290
         ],
2291
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
2292
        ]
2293
    ],
2294
    'view_helpers' => [
2295
        'factories' => [
2296
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
2297
        ],
2298
        'invokables' => [
2299
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
2300
        ],
2301
        'aliases' => [
2302
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
2303
        ]
2304
    ],
2305
    'controller_plugins' => [
2306
        'invokables' => [],
2307
        'factories' => [
2308
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
2309
        ],
2310
        'aliases' => [
2311
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
2312
        ]
2313
    ],
2314
    'view_manager' => [
2315
        'display_not_found_reason' => true,
2316
        'display_exceptions' => true,
2317
        'doctype' => 'HTML5',
2318
        'not_found_template' => 'error/404',
2319
        'exception_template' => 'error/index',
2320
        'template_map' => [
2321
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
2322
            'error/404' => __DIR__ . '/../view/error/404.phtml',
2323
            'error/index' => __DIR__ . '/../view/error/index.phtml'
2324
        ],
2325
        'template_path_stack' => [
2326
            __DIR__ . '/../view'
2327
        ],
2328
        'strategies' => [
2329
            'ViewJsonStrategy',
2330
            'RenderingStrategy'
2331
        ]
2332
    ]
2333
];
2334