Rev 5751 | Rev 5848 | 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;
return [
'navigation' => [
'menu' => [],
'footer' => [
[
'label' => 'LABEL_PRIVACY_POLICY',
'route' => 'privacy-policy'
],
[
'label' => 'LABEL_PROFESSIONALISM_POLICY',
'route' => 'professionalism-policy'
],
[
'label' => 'LABEL_COOKIES_POLICY',
'route' => 'cookies'
],
[
'label' => 'LABEL_TERMS_AND_CONDITIONS',
'route' => 'terms-and-conditions'
],
]
],
'router' => [
'routes' => [
'signin' => [
'type' => Literal::class,
'options' => [
'route' => '/signin',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'signin'
]
],
'may_terminate' => true,
'child_routes' => [
'facebook' => [
'type' => Literal::class,
'options' => [
'route' => '/facebook',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'facebook',
],
],
],
'twitter' => [
'type' => Literal::class,
'options' => [
'route' => '/twitter',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'twitter',
],
],
],
'google' => [
'type' => Literal::class,
'options' => [
'route' => '/google',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'google',
],
],
],
'impersonate' => [
'type' => Literal::class,
'options' => [
'route' => '/impersonate',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'impersonate',
],
],
],
]
],
//85a6de9c-c81e-4e47-b931-4cc32774defa
'shorter' => [
'type' => Segment::class,
'options' => [
'route' => '/shorter/:code',
'constraints' => [
'code' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ShorterController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'generate' => [
'type' => Segment::class,
'options' => [
'route' => '/generate/:type',
'constraints' => [
'type' => 'feed|post',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ShorterController',
'action' => 'generate'
]
]
],
]
],
'reset-password' => [
'type' => Segment::class,
'options' => [
'route' => '/reset-password/:code',
'constraints' => [
'code' => '[a-zA-Z0-9--]+'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'resetPassword'
]
]
],
'forgot-password' => [
'type' => Literal::class,
'options' => [
'route' => '/forgot-password',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'forgotPassword'
]
]
],
'signup' => [
'type' => Literal::class,
'options' => [
'route' => '/signup',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'signup'
]
]
],
'activate-account' => [
'type' => Segment::class,
'options' => [
'route' => '/activate-account/:code',
'constraints' => [
'code' => '[a-zA-Z0-9]+'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'activateAccount'
]
]
],
'signout' => [
'type' => Literal::class,
'options' => [
'route' => '/signout',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'signout'
]
]
],
'csrf' => [
'type' => Literal::class,
'options' => [
'route' => '/csrf',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'csrf'
]
]
],
'onroom' => [
'type' => Literal::class,
'options' => [
'route' => '/onroom',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AuthController',
'action' => 'onroom'
]
]
],
'home' => [
'type' => Literal::class,
'options' => [
'route' => '/',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'index'
]
]
],
'language' => [
'type' => Literal::class,
'options' => [
'route' => '/language',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'language'
]
]
],
'share' => [
'type' => Segment::class,
'options' => [
'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
'constraints' => [
'type' => 'feed|post',
'code' => '[A-Za-z0-9\-]+\=*',
'user' => '[A-Za-z0-9\-]+\=*',
'timestamp' => '[0-9]*',
'rand' => '[0-9]*',
'password' => '[A-Za-z0-9]*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'share',
],
],
'may_terminate' => true,
'child_routes' => [
'increment-external-counter' => [
'type' => Segment::class,
'options' => [
'route' => '/increment-external-counter',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'incTotalExternalShared',
],
],
],
]
],
'post' => [
'type' => Segment::class,
'options' => [
'route' => '/post/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'view'
]
],
'may_terminate' => true,
'child_routes' => [
'comments' => [
'type' => Segment::class,
'options' => [
'route' => '/comments',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'comments'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Segment::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'commentsAdd'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:comment',
'constraints' => [
'comment' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'commentsDelete'
]
]
],
],
],
'save-reaction' => [
'type' => Segment::class,
'options' => [
'route' => '/save-reaction/:reaction',
'constraints' => [
'reaction' => 'r|s|l|i|f',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'saveReaction'
]
]
],
'delete-reaction' => [
'type' => Segment::class,
'options' => [
'route' => '/delete-reaction',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PostController',
'action' => 'deleteReaction'
]
]
],
],
],
'privacy-policy' => [
'type' => Literal::class,
'options' => [
'route' => '/privacy-policy',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'privacyPolicy'
]
]
],
'cookies' => [
'type' => Literal::class,
'options' => [
'route' => '/cookies',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'cookies'
]
]
],
'professionalism-policy' => [
'type' => Literal::class,
'options' => [
'route' => '/professionalism-policy',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'professionalismPolicy'
]
]
],
'terms-and-conditions' => [
'type' => Literal::class,
'options' => [
'route' => '/terms-and-conditions',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'termsAndConditions'
]
]
],
'check-session' => [
'type' => Literal::class,
'options' => [
'route' => '/check-session',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HomeController',
'action' => 'checkSession'
]
]
],
'notifications' => [
'type' => Literal::class,
'options' => [
'route' => '/notifications',
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'mark-read' => [
'type' => Segment::class,
'options' => [
'route' => '/mark-read/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'markRead'
]
]
],
'mark-all-read' => [
'type' => Literal::class,
'options' => [
'route' => '/mark-all-read',
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'markAllRead'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'delete'
]
]
],
'clear' => [
'type' => Literal::class,
'options' => [
'route' => '/clear',
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'clear'
]
]
],
'unreads' => [
'type' => Literal::class,
'options' => [
'route' => '/unreads',
'defaults' => [
'controller' => '\LeadersLinked\Controller\NotificationController',
'action' => 'unreads'
]
]
],
]
],
'impersonate' => [
'type' => Literal::class,
'options' => [
'route' => '/impersonate',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ImpersonateController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'execute' => [
'type' => Segment::class,
'options' => [
'route' => '/execute/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ImpersonateController',
'action' => 'execute'
]
]
],
]
],
'my-coach' => [
'type' => Literal::class,
'options' => [
'route' => '/my-coach',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyCoachController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [],
],
'backend' => [
'type' => Literal::class,
'options' => [
'route' => '/backend',
'defaults' => [
'controller' => '\LeadersLinked\Controller\BackendController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'signin-admin' => [
'type' => Literal::class,
'options' => [
'route' => '/signin-admin',
'defaults' => [
'controller' => '\LeadersLinked\Controller\BackendController',
'action' => 'signinAdmin'
],
],
],
'signin-company' => [
'type' => Segment::class,
'options' => [
'route' => '/signin-company/:id[/relational/:relational/type/:type]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'relational' => '[A-Za-z0-9\-]+\=*',
'type' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\BackendController',
'action' => 'signinCompany'
],
],
],
]
],
'dashboard' => [
'type' => Segment::class,
'options' => [
'route' => '/dashboard[/feed/:feed]',
'constraints' => [
'feed' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\DashboardController',
'action' => 'index'
]
]
],
'dashboard2' => [
'type' => Segment::class,
'options' => [
'route' => '/dashboard2',
'defaults' => [
'controller' => '\LeadersLinked\Controller\DashboardController',
'action' => 'dashboard2'
]
]
],
'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|message|microlearning-topic|microlearning-capsule|microlearning-slide|daily-pulse|engagement-reward',
'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)'
],
// MjM5ODk0Mzgg
'defaults' => [
'controller' => '\LeadersLinked\Controller\StorageController',
'action' => 'download'
]
]
],
'storage-network' => [
'type' => Segment::class,
'options' => [
'route' => '/storage-network/type/:type[/]',
'constraints' => [
'type' => 'navbar|logo|favico',
],
// MjM5ODk0Mzgg
'defaults' => [
'controller' => '\LeadersLinked\Controller\StorageNetworkController',
'action' => 'download'
]
]
],
'paypal' => [
'type' => Literal::class,
'options' => [
'route' => '/paypal',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PaypalController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'success' => [
'type' => Literal::class,
'options' => [
'route' => '/success',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PaypalController',
'action' => 'success',
],
],
],
'cancel' => [
'type' => Literal::class,
'options' => [
'route' => '/cancel',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PaypalController',
'action' => 'cancel',
],
],
],
]
],
'chat' => [
'type' => Literal::class,
'options' => [
'route' => '/chat',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
// Inicio de los Routes del Chat //
'users' => [
'type' => Literal::class,
'options' => [
'route' => '/users',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'users',
],
],
],
'heart-beat' => [
'type' => Literal::class,
'options' => [
'route' => '/heart-beat',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'heartBeat',
],
],
],
'create-group' => [
'type' => Literal::class,
'options' => [
'route' => '/create-group',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'createGroup',
],
],
],
'zoom' => [
'type' => Segment::class,
'options' => [
'route' => '/zoom/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'zoom',
],
],
],
'open-or-create' => [
'type' => Segment::class,
'options' => [
'route' => '/open-or-create/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'openOrCreate',
],
],
],
'add-user-to-group' => [
'type' => Segment::class,
'options' => [
'route' => '/add-user-to-group/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'addUserToGroup',
],
],
],
'mark-seen' => [
'type' => Segment::class,
'options' => [
'route' => '/mark-seen/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'markSeen',
],
],
],
'mark-received' => [
'type' => Segment::class,
'options' => [
'route' => '/mark-received/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'markReceived',
],
],
],
'remove-user-from-group' => [
'type' => Segment::class,
'options' => [
'route' => '/remove-user-from-group/:group_id/:user_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
'user_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'removeUserFromGroup',
],
],
],
'get-all-messages' => [
'type' => Segment::class,
'options' => [
'route' => '/get-all-messages/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'getAllMessages',
],
],
],
'send' => [
'type' => Segment::class,
'options' => [
'route' => '/send/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'send',
],
],
],
'get-contacts-availables-for-group' => [
'type' => Segment::class,
'options' => [
'route' => '/get-contacts-availables-for-group/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'contactAvailableGroupList',
],
],
],
'get-contact-group-list' => [
'type' => Segment::class,
'options' => [
'route' => '/get-contact-group-list/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'contactGroupList',
],
],
],
'leave-group' => [
'type' => Segment::class,
'options' => [
'route' => '/leave-group/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'leaveGroup',
],
],
],
'delete-group' => [
'type' => Segment::class,
'options' => [
'route' => '/delete-group/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'deleteGroup',
],
],
],
'open' => [
'type' => Segment::class,
'options' => [
'route' => '/open/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'open',
],
],
],
'close' => [
'type' => Segment::class,
'options' => [
'route' => '/close/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'close',
],
],
],
'clear' => [
'type' => Segment::class,
'options' => [
'route' => '/clear/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'clear',
],
],
],
'upload' => [
'type' => Segment::class,
'options' => [
'route' => '/upload/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ChatController',
'action' => 'upload',
],
],
],
],
],
'calendar' => [
'type' => Literal::class,
'options' => [
'route' => '/calendar',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CalendarController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'events' => [
'type' => Segment::class,
'options' => [
'route' => '/events',
/*'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],*/
'defaults' => [
'controller' => '\LeadersLinked\Controller\CalendarController',
'action' => 'events'
]
]
],
]
],
/*
'zoom' => [
'type' => Literal::class,
'options' => [
'route' => '/zoom',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ZoomController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Literal::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ZoomController',
'action' => 'add'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ZoomController',
'action' => 'delete'
]
]
],
'listing' => [
'type' => Literal::class,
'options' => [
'route' => '/listing',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ZoomController',
'action' => 'listing'
]
]
],
]
],*/
'inmail' => [
'type' => Segment::class,
'options' => [
'route' => '/inmail[/:id]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'block' => [
'type' => Literal::class,
'options' => [
'route' => '/block',
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'blockConversation'
]
]
],
'delete' => [
'type' => Literal::class,
'options' => [
'route' => '/delete',
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'delete'
]
]
],
'message' => [
'type' => Literal::class,
'options' => [
'route' => '/message',
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'message'
]
],
'may_terminate' => true,
'child_routes' => [
'send' => [
'type' => Segment::class,
'options' => [
'route' => '/send[/encoding/:encoding]',
'constraints' => [
'encoding' => 'base64'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'sendMessage'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:message',
'constraints' => [
'message' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\InMailController',
'action' => 'delete'
]
]
],
],
],
],
],
'connection' => [
'type' => Literal::class,
'options' => [
'route' => '/connection',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'my-connections' => [
'type' => Literal::class,
'options' => [
'route' => '/my-connections',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'myConnections'
]
]
],
'people-you-may-know' => [
'type' => Literal::class,
'options' => [
'route' => '/people-you-may-know',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'peopleYouMayKnow'
]
]
],
'people-blocked' => [
'type' => Literal::class,
'options' => [
'route' => '/people-blocked',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'peopleBlocked'
]
],
],
'invitations-sent' => [
'type' => Literal::class,
'options' => [
'route' => '/invitations-sent',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'invitationsSent'
]
]
],
'invitations-received' => [
'type' => Literal::class,
'options' => [
'route' => '/invitations-received',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'invitationsReceived'
]
]
],
'block' => [
'type' => Segment::class,
'options' => [
'route' => '/block/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'block'
]
]
],
'unblock' => [
'type' => Segment::class,
'options' => [
'route' => '/unblock/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'unblock'
]
]
],
'cancel' => [
'type' => Segment::class,
'options' => [
'route' => '/cancel/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'cancel'
]
]
],
'request' => [
'type' => Segment::class,
'options' => [
'route' => '/request/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'request'
]
]
],
'approve' => [
'type' => Segment::class,
'options' => [
'route' => '/approve/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'approve'
]
]
],
'reject' => [
'type' => Segment::class,
'options' => [
'route' => '/reject/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'reject'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ConnectionController',
'action' => 'delete'
]
]
],
]
],
'feed' => [
'type' => Literal::class,
'options' => [
'route' => '/feed',
'defaults' => [
'controller' => '\LeadersLinked\Controller\FeedController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'timeline' => [
'type' => Segment::class,
'options' => [
'route' => '/timeline/:id/:type[/feed/:feed]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'type' => 'user|company|group',
],
'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'
],
]
],
'comment' => [
'type' => Segment::class,
'options' => [
'route' => '/comment/: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'
]
]
],
]
],
'share' => [
'type' => Segment::class,
'options' => [
'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'company_id' => '[A-Za-z0-9\-]+\=*',
'group_id' => '[A-Za-z0-9\-]+\=*',
'encoding' => 'base64'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\FeedController',
'action' => 'share'
]
]
],
'save-reaction' => [
'type' => Segment::class,
'options' => [
'route' => '/save-reaction/:id/:reaction',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'reaction' => 'r|s|l|i|f',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\FeedController',
'action' => 'saveReaction'
]
]
],
'delete-reaction' => [
'type' => Segment::class,
'options' => [
'route' => '/delete-reaction/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\FeedController',
'action' => 'deleteReaction'
]
]
],
'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'
]
]
],
],
],
'job' => [
'type' => Literal::class,
'options' => [
'route' => '/job',
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'view' => [
'type' => Segment::class,
'options' => [
'route' => '/view/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'view'
]
]
],
'apply-job' => [
'type' => Segment::class,
'options' => [
'route' => '/apply-job/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'applyJob'
]
]
],
'remove-apply-job' => [
'type' => Segment::class,
'options' => [
'route' => '/remove-apply-job/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'removeApplyJob'
]
]
],
'save-job' => [
'type' => Segment::class,
'options' => [
'route' => '/save-job/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'saveJob'
]
]
],
'remove-save-job' => [
'type' => Segment::class,
'options' => [
'route' => '/remove-save-job/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'removeSaveJob'
]
]
],
'applied-jobs' => [
'type' => Literal::class,
'options' => [
'route' => '/applied-jobs',
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'appliedJobs'
]
]
],
'saved-jobs' => [
'type' => Literal::class,
'options' => [
'route' => '/saved-jobs',
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'savedJobs'
]
]
],
]
],
/*
'job' => [
'type' => Literal::class,
'options' => [
'route' => '/job',
'defaults' => [
'controller' => '\LeadersLinked\Controller\JobController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'view' => [
'type' => Segment::class,
'options' => [
'route' => '/view/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'job'
]
]
],
]
],
*/
'search' => [
'type' => Segment::class,
'options' => [
'route' => '/search[/entity/:entity]',
'constraints' => [
'entity' => 'user|company|group|job'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\SearchController',
'action' => 'index'
]
],
],
'group' => [
'type' => Literal::class,
'options' => [
'route' => '/group',
'defaults' => [
'controller' => '\LeadersLinked\GroupController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'view' => [
'type' => Segment::class,
'options' => [
'route' => '/view/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'view'
]
]
],
'request' => [
'type' => Segment::class,
'options' => [
'route' => '/request/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'request'
]
]
],
'leave' => [
'type' => Segment::class,
'options' => [
'route' => '/leave/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'leave'
]
]
],
'accept' => [
'type' => Segment::class,
'options' => [
'route' => '/accept/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'accept'
]
]
],
'cancel' => [
'type' => Segment::class,
'options' => [
'route' => '/cancel/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'cancel'
]
]
],
'reject' => [
'type' => Segment::class,
'options' => [
'route' => '/reject/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'reject'
]
]
],
'joined-groups' => [
'type' => Literal::class,
'options' => [
'route' => '/joined-groups',
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'joinedGroups'
]
],
],
'requests-sent' => [
'type' => Literal::class,
'options' => [
'route' => '/requests-sent',
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'requestsSent'
]
],
],
'invitations-received' => [
'type' => Literal::class,
'options' => [
'route' => '/invitations-received',
'defaults' => [
'controller' => '\LeadersLinked\Controller\GroupController',
'action' => 'invitationsReceived'
]
],
],
'my-groups' => [
'type' => Literal::class,
'options' => [
'route' => '/my-groups',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Literal::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'add'
]
]
],
'edit' => [
'type' => Segment::class,
'options' => [
'route' => '/edit/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'edit'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'delete'
]
]
],
'extended' => [
'type' => Segment::class,
'options' => [
'route' => '/extended/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'extended'
]
]
],
'image' => [
'type' => Segment::class,
'options' => [
'route' => '/image/:id/operation/:operation',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'upload|delete'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'image'
]
]
],
'cover' => [
'type' => Segment::class,
'options' => [
'route' => '/cover/:id/operation/:operation',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'upload|delete'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'cover'
]
]
],
'privacy' => [
'type' => Segment::class,
'options' => [
'route' => '/privacy/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'privacy'
]
]
],
'website' => [
'type' => Segment::class,
'options' => [
'route' => '/website/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'website'
]
]
],
'industry' => [
'type' => Segment::class,
'options' => [
'route' => '/industry/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'industry'
]
]
],
'accessibility' => [
'type' => Segment::class,
'options' => [
'route' => '/accessibility/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'accessibility'
]
]
],
'type' => [
'type' => Segment::class,
'options' => [
'route' => '/type/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'type'
]
]
],
'status' => [
'type' => Segment::class,
'options' => [
'route' => '/status/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'status'
]
]
],
'members' => [
'type' => Segment::class,
'options' => [
'route' => '/members/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'members'
]
],
'may_terminate' => true,
'child_routes' => [
'invite' => [
'type' => Segment::class,
'options' => [
'route' => '/invite/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'invite'
]
]
],
'approve' => [
'type' => Segment::class,
'options' => [
'route' => '/approve/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'approve'
]
]
],
'reject' => [
'type' => Segment::class,
'options' => [
'route' => '/reject/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'reject'
]
]
],
'cancel' => [
'type' => Segment::class,
'options' => [
'route' => '/cancel/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyGroupsController',
'action' => 'cancel'
]
]
],
]
],
]
]
]
],
'profile' => [
'type' => Literal::class,
'options' => [
'route' => '/profile',
'defaults' => [
'controller' => '\LeadersLinked\ControllerProfileController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'microlearning' => [
'type' => Literal::class,
'options' => [
'route' => '/microlearning',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'timeline' => [
'type' => Literal::class,
'options' => [
'route' => '/timeline',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
'action' => 'timeline'
]
]
],
'progress' => [
'type' => Literal::class,
'options' => [
'route' => '/progress',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
'action' => 'progress'
]
]
],
]
],
'people-viewed-profile' => [
'type' => Literal::class,
'options' => [
'route' => '/people-viewed-profile',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ProfileController',
'action' => 'peopleViewedProfile'
]
]
],
'view' => [
'type' => Segment::class,
'options' => [
'route' => '/view/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ProfileController',
'action' => 'view'
]
]
],
'self-evaluation' => [
'type' => Literal::class,
'options' => [
'route' => '/self-evaluation',
'defaults' => [
'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'take-a-test' => [
'type' => Segment::class,
'options' => [
'route' => '/take-a-test/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
'action' => 'takeaTest'
]
]
],
'report' => [
'type' => Segment::class,
'options' => [
'route' => '/report/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
'action' => 'report'
]
]
],
]
],
'performance-evaluation' => [
'type' => Literal::class,
'options' => [
'route' => '/performance-evaluation',
'defaults' => [
'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'take-a-test' => [
'type' => Segment::class,
'options' => [
'route' => '/take-a-test/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
'action' => 'takeaTest'
]
]
],
'report' => [
'type' => Segment::class,
'options' => [
'route' => '/report/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
'action' => 'report'
]
]
],
]
],
'my-profiles' => [
'type' => Literal::class,
'options' => [
'route' => '/my-profiles',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Literal::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'add'
]
]
],
'edit' => [
'type' => Segment::class,
'options' => [
'route' => '/edit/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'edit'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'delete'
]
]
],
'extended' => [
'type' => Segment::class,
'options' => [
'route' => '/extended/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'extended'
]
]
],
'image' => [
'type' => Segment::class,
'options' => [
'route' => '/image/:id/operation/:operation',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'upload|delete'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'image'
]
]
],
'cover' => [
'type' => Segment::class,
'options' => [
'route' => '/cover/:id/operation/:operation',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'upload|delete'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'cover'
]
]
],
'experience' => [
'type' => Segment::class,
'options' => [
'route' => '/experience/:id/operation/:operation[/:user_experience_id]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'add|edit|delete',
'user_education_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'experience'
]
]
],
'education' => [
'type' => Segment::class,
'options' => [
'route' => '/education/:id/operation/:operation[/:user_education_id]',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
'operation' => 'add|edit|delete',
'user_education_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'education'
]
]
],
'language' => [
'type' => Segment::class,
'options' => [
'route' => '/language/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'language'
]
]
],
'location' => [
'type' => Segment::class,
'options' => [
'route' => '/location/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'location'
]
]
],
'skill' => [
'type' => Segment::class,
'options' => [
'route' => '/skill/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'skill'
]
]
],
'social-network' => [
'type' => Segment::class,
'options' => [
'route' => '/social-network/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'socialNetwork'
]
]
],
'aptitude' => [
'type' => Segment::class,
'options' => [
'route' => '/aptitude/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'aptitude'
]
]
],
'hobby-and-interest' => [
'type' => Segment::class,
'options' => [
'route' => '/hobby-and-interest/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyProfilesController',
'action' => 'hobbyAndInterest'
]
]
]
]
]
]
],
'company' => [
'type' => Literal::class,
'options' => [
'route' => '/company',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'view' => [
'type' => Segment::class,
'options' => [
'route' => '/view/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'view'
]
]
],
'follow' => [
'type' => Segment::class,
'options' => [
'route' => '/follow/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'follow'
]
]
],
'unfollow' => [
'type' => Segment::class,
'options' => [
'route' => '/unfollow/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'unfollow'
]
]
],
'request' => [
'type' => Segment::class,
'options' => [
'route' => '/request/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'request'
]
]
],
'accept' => [
'type' => Segment::class,
'options' => [
'route' => '/accept/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'accept'
]
]
],
'cancel' => [
'type' => Segment::class,
'options' => [
'route' => '/cancel/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'cancel'
]
]
],
'reject' => [
'type' => Segment::class,
'options' => [
'route' => '/reject/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'reject'
]
]
],
'leave' => [
'type' => Segment::class,
'options' => [
'route' => '/leave/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'leave'
]
]
],
'following-companies' => [
'type' => Literal::class,
'options' => [
'route' => '/following-companies',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'followingCompanies'
]
],
],
'requests-sent' => [
'type' => Literal::class,
'options' => [
'route' => '/requests-sent',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'requestsSent'
]
],
'may_terminate' => true,
],
'invitations-received' => [
'type' => Literal::class,
'options' => [
'route' => '/invitations-received',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'invitationsReceived'
]
],
'may_terminate' => true,
],
'i-work-with' => [
'type' => Literal::class,
'options' => [
'route' => '/i-work-with',
'defaults' => [
'controller' => '\LeadersLinked\Controller\CompanyController',
'action' => 'iWorkWith'
]
],
'may_terminate' => true,
],
'my-companies' => [
'type' => Literal::class,
'options' => [
'route' => '/my-companies',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyCompaniesController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Literal::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MyCompaniesController',
'action' => 'add'
]
]
],
]
],
]
],
'account-settings' => [
'type' => Literal::class,
'options' => [
'route' => '/account-settings',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'image' => [
'type' => Segment::class,
'options' => [
'route' => '/image/:operation',
'cconstraints' => [
'operation' => 'upload|delete'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'image',
'operation' => 'upload'
]
]
],
'deactivate' => [
'type' => Literal::class,
'options' => [
'route' => '/deactivate',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'deactivate'
]
]
],
'notifications' => [
'type' => Literal::class,
'options' => [
'route' => '/notification',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'notification'
]
]
],
'password' => [
'type' => Literal::class,
'options' => [
'route' => '/password',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'password'
]
]
],
'add-facebook' => [
'type' => Literal::class,
'options' => [
'route' => '/add-facebook',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'addFacebook'
]
]
],
'remove-facebook' => [
'type' => Literal::class,
'options' => [
'route' => '/remove-facebook',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'removeFacebook'
]
]
],
'add-twitter' => [
'type' => Literal::class,
'options' => [
'route' => '/add-twitter',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'addTwitter'
]
]
],
'remove-twitter' => [
'type' => Literal::class,
'options' => [
'route' => '/remove-twitter',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'removeTwitter'
]
]
],
'add-google' => [
'type' => Literal::class,
'options' => [
'route' => '/add-google',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'addGoogle'
]
]
],
'remove-google' => [
'type' => Literal::class,
'options' => [
'route' => '/remove-google',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'removeGoogle'
]
]
],
'location' => [
'type' => Literal::class,
'options' => [
'route' => '/location',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'location'
]
]
],
'privacy' => [
'type' => Literal::class,
'options' => [
'route' => '/privacy',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'privacy'
]
]
],
'basic' => [
'type' => Literal::class,
'options' => [
'route' => '/basic',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'basic'
]
]
],
'transactions' => [
'type' => Literal::class,
'options' => [
'route' => '/transactions',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'transactions'
]
],
'may_terminate' => true,
'child_routes' => [
'add-funds' => [
'type' => Literal::class,
'options' => [
'route' => '/add-funds',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'addFund'
]
]
],
]
],
'browsers' => [
'type' => Literal::class,
'options' => [
'route' => '/browsers',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'browsers'
]
]
],
'ips' => [
'type' => Literal::class,
'options' => [
'route' => '/ips',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'ips'
]
]
],
'devices' => [
'type' => Literal::class,
'options' => [
'route' => '/devices',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'devices'
]
]
],
'delete-account' => [
'type' => Literal::class,
'options' => [
'route' => '/delete-account',
'defaults' => [
'controller' => '\LeadersLinked\Controller\AccountSettingController',
'action' => 'deleteAccount'
]
]
],
],
'may_terminate' => true
],
'moodle' => [
'type' => Literal::class,
'options' => [
'route' => '/moodle',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MoodleController',
'action' => 'index'
]
],
'may_terminate' => true
],
'oauth' => [
'type' => Literal::class,
'options' => [
'route' => '/oauth',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'facebook' => [
'type' => Literal::class,
'options' => [
'route' => '/facebook',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebook'
]
],
'may_terminate' => true,
'child_routes' => [
'delete' => [
'type' => Literal::class,
'options' => [
'route' => '/delete',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebookDelete'
]
],
'may_terminate' => true,
],
'cancel' => [
'type' => Literal::class,
'options' => [
'route' => '/cancel',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebookCancel'
]
],
'may_terminate' => true,
],
],
],
'twitter' => [
'type' => Literal::class,
'options' => [
'route' => '/twitter',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'twitter'
]
],
'may_terminate' => true,
],
'google' => [
'type' => Literal::class,
'options' => [
'route' => '/google',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'google'
]
],
'may_terminate' => true,
],
/* 'facebook' => [
'type' => Literal::class,
'options' => [
'route' => '/facebook',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebook'
]
],
'may_terminate' => true,
'child_routes' => [
'cancel' => [
'type' => Literal::class,
'options' => [
'route' => '/cancel',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebookCancel'
]
]
],
'delete' => [
'type' => Literal::class,
'options' => [
'route' => '/delete',
'defaults' => [
'controller' => '\LeadersLinked\Controller\OauthController',
'action' => 'facebookDelete'
]
]
]
]
] */
]
],
'daily-pulse' => [
'type' => Literal::class,
'options' => [
'route' => '/daily-pulse',
'defaults' => [
'controller' => '\LeadersLinked\Controller\DailyPulseController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'how_are_you_feel' => [
'type' => Segment::class,
'options' => [
'route' => '/how_are_you_feel/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\DailyPulseController',
'action' => 'howAreYouFeel'
]
]
],
'climate_on_your_organization' => [
'type' => Segment::class,
'options' => [
'route' => '/climate_on_your_organization/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\DailyPulseController',
'action' => 'climateOnYourOrganization'
]
]
],
],
],
'helpers' => [
'type' => Literal::class,
'options' => [
'route' => '/helpers',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'search-people' => [
'type' => Literal::class,
'options' => [
'route' => '/search-people',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'searchPeople'
]
]
],
'company-suggestion' => [
'type' => Segment::class,
'options' => [
'route' => '/company-suggestion/:company_id',
'constraints' => [
'company_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'companySuggestion'
]
]
],
'posts' => [
'type' => Literal::class,
'options' => [
'route' => '/posts',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'posts'
]
]
],
'people-you-may-know' => [
'type' => Literal::class,
'options' => [
'route' => '/people-you-may-know',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'peopleYouMayKnow'
]
]
],
'people-viewed-profile' => [
'type' => Segment::class,
'options' => [
'route' => '/people-viewed-profile/:user_profile_id',
'constraints' => [
'user_profile_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'peopleViewedProfile'
]
]
],
'company-follower' => [
'type' => Segment::class,
'options' => [
'route' => '/company-follower/:company_id',
'constraints' => [
'company_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'companyFollower'
]
]
],
'group-members' => [
'type' => Segment::class,
'options' => [
'route' => '/group-members/:group_id',
'constraints' => [
'group_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupMembers'
]
],
'may_terminate' => true,
'child_routes' => [
'invite' => [
'type' => Literal::class,
'options' => [
'route' => '/invite',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupMemberInvite'
]
]
],
'reject' => [
'type' => Segment::class,
'options' => [
'route' => '/reject/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupMemberReject'
]
]
],
'cancel' => [
'type' => Segment::class,
'options' => [
'route' => '/cancel/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupMemberCancel'
]
]
],
'approve' => [
'type' => Segment::class,
'options' => [
'route' => '/approve/:user_id',
'constraints' => [
'user_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupMemberApprove'
]
]
],
]
],
'groups-suggestion' => [
'type' => Literal::class,
'options' => [
'route' => '/groups-suggestion',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'groupsSuggestion'
]
]
],
'my-groups' => [
'type' => Literal::class,
'options' => [
'route' => '/my-groups',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'myGroups'
]
]
],
'footer' => [
'type' => Literal::class,
'options' => [
'route' => '/footer',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'footer'
]
]
],
'next-events' => [
'type' => Literal::class,
'options' => [
'route' => '/next-events',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelperController',
'action' => 'nextEvents'
]
]
],
]
],
'help' => [
'type' => Literal::class,
'options' => [
'route' => '/help',
'defaults' => [
'controller' => '\LeadersLinked\Controller\HelpController',
'action' => 'send'
]
],
'may_terminate' => true,
],
'services' => [
'type' => Literal::class,
'options' => [
'route' => '/services',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'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|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)'
],
// MjM5ODk0Mzgg
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'storage'
]
]
],
'device' => [
'type' => Literal::class,
'options' => [
'route' => '/device',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'device'
]
]
],
'fcm' => [
'type' => Literal::class,
'options' => [
'route' => '/fcm',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'fcm'
]
]
],
'signin' => [
'type' => Literal::class,
'options' => [
'route' => '/signin',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'signin'
]
]
],
'check-session' => [
'type' => Literal::class,
'options' => [
'route' => '/check-session',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'checkSession'
]
]
],
'signout' => [
'type' => Literal::class,
'options' => [
'route' => '/signout',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'signout'
]
]
],
'sync' => [
'type' => Literal::class,
'options' => [
'route' => '/sync',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'sync'
]
]
],
'sync-batch' => [
'type' => Literal::class,
'options' => [
'route' => '/sync-batch',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'syncBatch'
]
]
],
'delete-account' => [
'type' => Literal::class,
'options' => [
'route' => '/delete-account',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'deleteAccount'
]
]
],
'microlearning' => [
'type' => Literal::class,
'options' => [
'route' => '/microlearning',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceMicrolearningController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'refresh' => [
'type' => Literal::class,
'options' => [
'route' => '/refresh',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'microlearningRefresh'
]
]
],
'delete-account' => [
'type' => Literal::class,
'options' => [
'route' => '/delete-account',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'deleteAccount'
]
]
],
'check-changes' => [
'type' => Literal::class,
'options' => [
'route' => '/check-changes',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'microlearningCheckChanges'
]
]
],
'capsules' => [
'type' => Literal::class,
'options' => [
'route' => '/capsules',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceController',
'action' => 'microlearningCapsules'
]
],
'may_terminate' => true,
'child_routes' => [
'comments' => [
'type' => Segment::class,
'options' => [
'route' => '/comments/:capsule_id',
'constraints' => [
'capsule_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'add' => [
'type' => Literal::class,
'options' => [
'route' => '/add',
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
'action' => 'add'
]
]
],
'get' => [
'type' => Segment::class,
'options' => [
'route' => '/get/:comment_id',
'constraints' => [
'comment_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
'action' => 'get'
]
]
],
'edit' => [
'type' => Segment::class,
'options' => [
'route' => '/edit/:comment_id',
'constraints' => [
'comment_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
'action' => 'edit'
]
]
],
'delete' => [
'type' => Segment::class,
'options' => [
'route' => '/delete/:comment_id',
'constraints' => [
'comment_id' => '[A-Za-z0-9\-]+\=*'
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
'action' => 'delete'
]
]
],
]
],
]
],
]
],
]
],
'marketplace' => [
'type' => Literal::class,
'options' => [
'route' => '/marketplace',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MarketPlaceController',
'action' => 'index'
]
],
'may_terminate' => true,
'child_routes' => [
'categories' => [
'type' => Segment::class,
'options' => [
'route' => '/categories',
'defaults' => [
'controller' => '\LeadersLinked\Controller\MarketPlaceController',
'action' => 'getCategories'
]
]
],
'enroll' => [
'type' => Segment::class,
'options' => [
'route' => '/enroll/:company_id/:topic_id/:capsule_id',
'constraints' => [
'company_id' => '[A-Za-z0-9\-]+\=*',
'topic_id' => '[A-Za-z0-9\-]+\=*',
'capsule_id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MarketPlaceController',
'action' => 'enroll'
]
]
],
'claim' => [
'type' => Segment::class,
'options' => [
'route' => '/claim/:id',
'constraints' => [
'id' => '[A-Za-z0-9\-]+\=*',
],
'defaults' => [
'controller' => '\LeadersLinked\Controller\MarketPlaceController',
'action' => 'claim'
]
]
],
]
],
]
],
'controllers' => [
'factories' => [
\LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
\LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
\LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
\LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
\LeadersLinked\Controller\ChatController::class => \LeadersLinked\Factory\Controller\ChatControllerFactory::class,
\LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
\LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
\LeadersLinked\Controller\DailyPulseController::class => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
\LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
\LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
\LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
\LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
\LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
\LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
\LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
\LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
\LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
\LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
\LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
\LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
\LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
\LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
\LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
\LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
\LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
\LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
\LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
// \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
//\LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
\LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
\LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
\LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
\LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
\LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
\LeadersLinked\Controller\StorageNetworkController::class => \LeadersLinked\Factory\Controller\StorageNetworkControllerFactory::class,
\LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
\LeadersLinked\Controller\ServiceCapsuleCommentsController::class => \LeadersLinked\Factory\Controller\ServiceCapsuleCommentsControllerFactory::class,
// \LeadersLinked\Controller\ZoomController::class => \LeadersLinked\Factory\Controller\ZoomControllerFactory::class,
],
'aliases' => [
'\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
'\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
'\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
'\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
'\LeadersLinked\Controller\ChatController' => \LeadersLinked\Controller\ChatController::class,
'\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
'\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
'\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
'\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
'\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
'\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
'\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
'\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
'\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
'\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
'\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
'\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
'\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
'\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
'\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
'\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
// '\LeadersLinked\Controller\ProfileMicrolearningController' => \LeadersLinked\Controller\ProfileMicrolearningController::class,
'\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
'\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
'\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
'\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
'\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
'\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
'\LeadersLinked\Controller\StorageNetworkController' => \LeadersLinked\Controller\StorageNetworkController::class,
'\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
'\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
'\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,
'\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
'\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
'\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
//'\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
// '\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
]
],
'laminas-cli' => [
'commands' => [
'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
]
],
'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,
\LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
\LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
\LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
\LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
\LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
\LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
\LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
\LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
],
'aliases' => [
// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
]
],
'view_helpers' => [
'factories' => [
\LeadersLinked\Helper\ChatHelper::class => \LeadersLinked\Factory\Helper\ChatHelperFactory::class,
// \LeadersLinked\Helper\CompanyFollowerHelper::class => \LeadersLinked\Factory\Helper\CompanyFollowerHelperFactory::class,
// \LeadersLinked\Helper\CompanySuggestionHelper::class => \LeadersLinked\Factory\Helper\CompanySuggestionHelperFactory::class,
\LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
\LeadersLinked\Helper\CurrentNetworkHelper::class => \LeadersLinked\Factory\Helper\CurrentNetworkHelperFactory::class,
// \LeadersLinked\Helper\GroupMembersHelper::class => \LeadersLinked\Factory\Helper\GroupMembersHelperFactory::class,
// \LeadersLinked\Helper\GroupsSuggestionHelper::class => \LeadersLinked\Factory\Helper\GroupsSuggestionHelperFactory::class,
\LeadersLinked\Helper\MenuHelper::class => \LeadersLinked\Factory\Helper\MenuHelperFactory::class,
// \LeadersLinked\Helper\PeopleViewedProfileHelper::class => \LeadersLinked\Factory\Helper\PeopleViewedProfileHelperFactory::class,
// \LeadersLinked\Helper\PeopleYouMayKnowHelper::class => \LeadersLinked\Factory\Helper\PeopleYouMayKnowHelperFactory::class,
// \LeadersLinked\Helper\SimilarGroupsHelper::class => \LeadersLinked\Factory\Helper\SimilarGroupsHelperFactory::class
\LeadersLinked\Helper\NetworkFavicoHelper::class => \LeadersLinked\Factory\Helper\NetworkFavicoHelperFactory::class,
\LeadersLinked\Helper\NetworkIntroHelper::class => \LeadersLinked\Factory\Helper\NetworkIntroHelperFactory::class,
\LeadersLinked\Helper\NetworkLogoHelper::class => \LeadersLinked\Factory\Helper\NetworkLogoHelperFactory::class,
\LeadersLinked\Helper\NetworkNavbarHelper::class => \LeadersLinked\Factory\Helper\NetworkNavbarHelperFactory::class,
\LeadersLinked\Helper\NetworkStylesAndColorsHelper::class => \LeadersLinked\Factory\Helper\NetworkStylesAndColorsHelperFactory::class,
],
'invokables' => [
//'menuBackendHelper' => \LeadersLinked\Helper\MenuBackendHelper::class,
// 'menuMyCompanyHelper' => \LeadersLinked\Helper\MenuMyCompanyHelper::class,
'footerHelper' => \LeadersLinked\Helper\FooterHelper::class
],
'aliases' => [
'chatHelper' => \LeadersLinked\Helper\ChatHelper::class,
//'companyFollowerHelper' => \LeadersLinked\Helper\CompanyFollowerHelper::class,
// 'companySuggestionHelper' => \LeadersLinked\Helper\CompanySuggestionHelper::class,
'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
'currentNetworkHelper' => \LeadersLinked\Helper\CurrentNetworkHelper::class,
'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
//'peopleViewedProfileHelper' => \LeadersLinked\Helper\PeopleViewedProfileHelper::class,
//'peopleYouMayKnowHelper' => \LeadersLinked\Helper\PeopleYouMayKnowHelper::class,
//'groupMembersHelper' => \LeadersLinked\Helper\GroupMembersHelper::class,
//'similarGroupsHelper' => \LeadersLinked\Helper\SimilarGroupsHelper::class
'networkFavicoHelper' => \LeadersLinked\Helper\NetworkFavicoHelper::class,
'networkIntroHelper' => \LeadersLinked\Helper\NetworkIntroHelper::class,
'networkLogoHelper' => \LeadersLinked\Helper\NetworkLogoHelper::class,
'networkNavbarHelper' => \LeadersLinked\Helper\NetworkNavbarHelper::class,
'networkStylesAndColorsHelper' => \LeadersLinked\Helper\NetworkStylesAndColorsHelper::class,
]
],
'controller_plugins' => [
'invokables' => [],
'factories' => [
\LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
\LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class,
],
'aliases' => [
'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::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'
]
]
];