Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 2 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

<?php
declare(strict_types = 1);
namespace LeadersLinked;

use Laminas\Router\Http\Literal;
use Laminas\Router\Http\Segment;
use Laminas\ServiceManager\Factory\InvokableFactory;
return [
    'navigation' => [
        'menu' => [
        ],
        'footer' => [

        ]
    ],
    'router' => [
        'routes' => [
            'home' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\AuthController',
                        'action' => 'index'
                    ]
                ]
            ],
            'signin-company' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/signin-company',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\AuthController',
                        'action' => 'signinCompany'
                    ]
                ],
                'may_terminate' => true,
            ],
            'signin-admin' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/signin-admin',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\AuthController',
                        'action' => 'signinAdmin'
                    ]
                ],
                'may_terminate' => true,
            ],
            'signout' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/signout',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\AuthController',
                        'action' => 'signout'
                    ]
                ],
                'may_terminate' => true,
            ],
            'dashboard' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/dashboard',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\DashboardController',
                        'action' => 'index'
                    ]
                ]
            ],

            'storage' => [
                'type' => Segment::class,
                'options' => [
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
                    'constraints' => [
                        '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',
                        'code' => '[A-Za-z0-9\-]+\=*',
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
                    ],
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\StorageController',
                        'action' => 'download'
                    ]
                ]
            ],
            
            /*** START COMPANIES ***/
            'companies' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/companies',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\CompanyController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'services' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/services/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompanyController',
                                'action' => 'services'
                            ]
                        ]
                    ],
                    'roles' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/roles/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompanyController',
                                'action' => 'roles'
                            ]
                        ]
                    ],
                    'edit' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/edit/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompanyController',
                                'action' => 'edit'
                            ]
                        ]
                    ],
                ],
             ],    
            

            /*** START USERS ***/ 
            'users' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/users',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\UserController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'change-password' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/change-password/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'change-password'
                            ]
                        ]
                    ],
                    'unblock' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/unblock/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'unblock'
                            ]
                        ]
                    ],
                    'invite' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/invite',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'invite'
                            ]
                        ]
                    ],
                    'accept' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/accept/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'accept'
                            ]
                        ]
                    ],
                    'cancel' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/cancel/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'cancel'
                            ]
                        ]
                    ],
                    'reject' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/reject/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'reject'
                            ]
                        ]
                    ],
                    'edit' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/edit/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'edit'
                            ]
                        ]
                    ],
                    'upload' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/upload',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\UserController',
                                'action' => 'upload'
                            ]
                        ]
                    ],
                    



                ]
            ],  
            
            /** START FEEDS **/
            'feeds' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/feeds',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\FeedController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'timeline' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/timeline',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\FeedController',
                                'action' => 'timeline'
                            ]
                        ]
                    ],
                    'delete' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/delete/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*',
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\FeedController',
                                'action' => 'delete'
                            ],
                        ]
                    ],
                    'comments' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/comments/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*',
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\FeedController',
                                'action' => 'comment'
                            ],
                            
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:comment',
                                    'constraints' => [
                                        'comment' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\FeedController',
                                        'action' => 'commentDelete'
                                    ]
                                ]
                            ],
                            
                        ]
                    ],


                    'add' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
                            'constraints' => [
                                'company_id' => '[A-Za-z0-9\-]+\=*',
                                'group_id' => '[A-Za-z0-9\-]+\=*',
                                'encoding' => 'base64'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\FeedController',
                                'action' => 'add'
                            ]
                        ]
                    ],
                ],
            ],   
            
            /** START JOBS **/
            'jobs' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/jobs',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\JobController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'add' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/add',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\JobController',
                                'action' => 'add'
                            ]
                        ],
                    ],
                    'delete' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/delete/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\JobController',
                                'action' => 'delete'
                            ]
                        ],
                    ],

                    'users-who-applied' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/users-who-applied/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\JobController',
                                'action' => 'usersWhoApplied'
                            ]
                        ],
                    ],
                    
                    
                    'edit' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/edit/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\JobController',
                                'action' => 'edit'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'status' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/status',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'status'
                                    ]
                                ],
                            ],
                            'title' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/title',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'title'
                                    ]
                                ],
                            ],
                            'last-date-of-application' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/last-date-of-application',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'lastDateOfApplication'
                                    ]
                                ],
                            ],
                            'experience' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/experience',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'experience'
                                    ]
                                ],
                            ],
                            'employment-type' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/employment-type',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'employmentType'
                                    ]
                                ],
                            ],
                            'job-category' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/job-category',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'jobCategory'
                                    ]
                                ],
                            ],
                            'extended' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/extended',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'extended'
                                    ]
                                ],
                            ],
                            'location' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/location',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'location'
                                    ]
                                ],
                            ],
                            'salary' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/salary',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'salary'
                                    ]
                                ],
                            ],
                            'degrees' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/degrees',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'degree'
                                    ]
                                ],
                            ],
                            'languages' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/languages',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'language'
                                    ]
                                ],
                            ],
                            'skills' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/skills',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'skill'
                                    ]
                                ],
                            ],
                            'how-apply' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/how-apply',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobController',
                                        'action' => 'howApply'
                                    ]
                                ],
                            ],
                        ],
                    ]
                ],
                
                
                
            ],
            /*** END JOB **/
            
            
            /***** START PROFILE ****/
            'profile' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/profile',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\ProfileController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'extended' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/extended',
                            
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'extended'
                            ]
                        ]
                    ],
                    'image' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/image/:operation',
                            'constraints' => [
                                'operation' => 'upload|delete'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'image'
                            ]
                        ]
                    ],
                    'cover' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/cover/:operation',
                            'constraints' => [
                                'operation' => 'upload|delete'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'cover'
                            ]
                        ]
                    ],
                    'website' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/website',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'website'
                            ]
                        ]
                    ],
                    'foundation_year' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/foundation_year',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'foundationYear'
                            ]
                        ]
                    ],
                    
                    'location' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/location/:operation[/:id]',
                            'constraints' => [
                                'operation' => 'add|edit|delete',
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'location'
                            ]
                        ]
                    ],
                    
                    'social-network' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/social-network',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'socialNetwork'
                            ]
                        ]
                    ],
                    'industry' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/industry',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'industry'
                            ]
                        ]
                    ],
                    'company-size' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/company-size',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\ProfileController',
                                'action' => 'companySize'
                            ]
                        ]
                    ]
                ],
                
            ],
            /*** END PROFILE **/
            
            /***** START FOLLOWERS ****/
            'followers' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/followers',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\FollowerController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'delete' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/delete/:id',
                            'constraints' => [
                                'id' => '[A-Za-z0-9\-]+\=*'
                            ],
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\FollowerController',
                                'action' => 'delete'
                            ]
                        ]
                    ],
                ],        
            ],    
            /***** END FOLLOWERS ****/
            
            /*** START MICRO_LEARNING ***/
            'microlearning' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/microlearning',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'overview' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/overview',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
                                'action' => 'overview'
                            ]
                        ],
                    ],   
                    'reports' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/reports',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
                                'action' => 'reports'
                            ]
                        ],
                    ],  
                        
                    'content' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/content',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                    
                            'topics' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/topics',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'capsules' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/capsules',
                                   
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/add/topic/:topic_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ],
                                    'users' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'type' => 'all|active',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
                                                'action' => 'users'
                                            ]
                                        ]
                                    ],
                                ]
                            ],
                    
                    
                            'slides' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/slides',
                                    
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ],
                                    
                                    'text' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
                                            'constraints' => [
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
                                                'action' => 'text'
                                            ]
                                        ]
                                    ],
                                    
                                ]
                            ],
                        ], 
                     ], 
                    
                    'students' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/students',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'timeline' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/timeline/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
                                        'action' => 'timeline'
                                    ]
                                ]
                            ],
                            'change-password' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/change-password/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
                                        'action' => 'change-password'
                                    ]
                                ]
                            ],
                            'unblock' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/unblock/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
                                        'action' => 'unblock'
                                    ]
                                ]
                            ],
                            
                       ]      
                    ], 
                    'access-for-students' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/access-for-students',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'revoke' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
                                    'constraints' => [
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
                                        'action' => 'revoke'
                                    ]
                                ]
                            ],
                            'unlimit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
                                    'constraints' => [
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
                                        'action' => 'unlimit'
                                    ]
                                ]
                            ],
                            
                            'upload' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
                                    'constraints' => [
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
                                        'action' => 'upload'
                                    ]
                                ]
                            ],
                            
                            'notification' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
                                    'constraints' => [
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
                                        'action' => 'notification'
                                    ]
                                ]
                            ],
                            

                        ],
                    ], 
                    
                    
                    
                    'settings' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/settings',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [

                            'student-types' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/student-types',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            
                            
                            'functions' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/functions',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'sectors' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/sectors',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'programs' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/programs',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'groups' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/groups',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'companies' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/companies',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'partners' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/partners',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            'institutions' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/institutions',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
                                        'action' => 'index'
                                    ]
                                ],
                                'may_terminate' => true,
                                'child_routes' => [
                                    'add' => [
                                        'type' => Literal::class,
                                        'options' => [
                                            'route' => '/add',
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
                                                'action' => 'add'
                                            ]
                                        ]
                                    ],
                                    'edit' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/edit/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
                                                'action' => 'edit'
                                            ]
                                        ]
                                    ],
                                    'delete' => [
                                        'type' => Segment::class,
                                        'options' => [
                                            'route' => '/delete/:id',
                                            'constraints' => [
                                                'id' => '[A-Za-z0-9\-]+\=*'
                                            ],
                                            'defaults' => [
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
                                                'action' => 'delete'
                                            ]
                                        ]
                                    ]
                                ]
                            ],
                            
                            
                        ]
                     ],  
                    
  
                    
                    
                ],
                      
            ],    
            
            
            
            /*** START PUBLICATIONS ***/
            'publications' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/publications',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\DashboardController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    
                    'pages' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/pages',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\PageController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PageController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PageController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PageController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    'posts' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/posts',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\PostController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PostController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PostController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PostController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    
                    
                ]
            ],    
            
            /*** START SETTINGS ***/
            'settings' => [
                'type' => Literal::class,
                'options' => [
                    'route' => '/settings',
                    'defaults' => [
                        'controller' => '\LeadersLinked\Controller\DashboardController',
                        'action' => 'index'
                    ]
                ],
                'may_terminate' => true,
                'child_routes' => [
                    
                    'company-sizes' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/company-sizes',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    
                    'competency-types' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/competency-types',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    'competencies' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/competencies',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    'degrees' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/degrees',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\DegreeController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    'group-types' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/competency-types',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    
                    'industries' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/industries',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\IndustryController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    
                    'group-types' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/group-types',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    'job-categories' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/job-categories',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                    
                    
                    'email-templates' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/email-templates',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                        ]
                    ],
                    
                    'push-templates' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/push-templates',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                        ]
                    ],
                    
                    'skills' => [
                        'type' => Literal::class,
                        'options' => [
                            'route' => '/skills',
                            'defaults' => [
                                'controller' => '\LeadersLinked\Controller\SkillController',
                                'action' => 'index'
                            ]
                        ],
                        'may_terminate' => true,
                        'child_routes' => [
                            'add' => [
                                'type' => Literal::class,
                                'options' => [
                                    'route' => '/add',
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\SkillController',
                                        'action' => 'add'
                                    ]
                                ]
                            ],
                            'edit' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/edit/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\SkillController',
                                        'action' => 'edit'
                                    ]
                                ]
                            ],
                            'delete' => [
                                'type' => Segment::class,
                                'options' => [
                                    'route' => '/delete/:id',
                                    'constraints' => [
                                        'id' => '[A-Za-z0-9\-]+\=*'
                                    ],
                                    'defaults' => [
                                        'controller' => '\LeadersLinked\Controller\SkillController',
                                        'action' => 'delete'
                                    ]
                                ]
                            ]
                        ]
                    ],
                    
                ]    
            ],
            
            
            
            
            
            /*** FIN SETTINGS ***/
           
            
           
        ]
    ],

    'controllers' => [
        'factories' => [
           
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
           
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
            
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
            
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
            
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
            
            
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
            
           
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
            
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
        
        ],

        'aliases' => [
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
            
            
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
            
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
            
            
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
            
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
            
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
            
            
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
            
            
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,

        ]
    ],
    
    'laminas-cli' => [
        'commands' => [
            
      ]
    ],
    
    'service_manager' => [
        'abstract_factories' => [
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
        ],
        'factories' => [
            'RenderingStrategy' => function ($container) {
                $translator = $container->get('MvcTranslator');
                return new \LeadersLinked\View\RenderingStrategy($translator);
            },
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
            
         ],
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
        ]
    ],
    'view_helpers' => [
        'factories' => [
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
        ],
        'invokables' => [
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
        ],
        'aliases' => [
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
        ]
    ],
    'controller_plugins' => [
        'invokables' => [],
        'factories' => [
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
        ],
        'aliases' => [
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
        ]
    ],
    'view_manager' => [
        'display_not_found_reason' => true,
        'display_exceptions' => true,
        'doctype' => 'HTML5',
        'not_found_template' => 'error/404',
        'exception_template' => 'error/index',
        'template_map' => [
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
            'error/404' => __DIR__ . '/../view/error/404.phtml',
            'error/index' => __DIR__ . '/../view/error/index.phtml'
        ],
        'template_path_stack' => [
            __DIR__ . '/../view'
        ],
        'strategies' => [
            'ViewJsonStrategy',
            'RenderingStrategy'
        ]
    ]
];