/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/src
NameSizeModeActions
Authenticator/-0755rm
Controller/-0755rm
Exception/-0755rm
Identifier/-0755rm
Loader/-0755rm
Mailer/-0755rm
Middleware/-0755rm
Model/-0755rm
Shell/-0755rm
Traits/-0755rm
Utility/-0755rm
View/-0755rm
Plugin.php36570644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/src/Plugin.php (3657B)
loadService($request, $key); } /** * {@inheritdoc} */ public function getAuthorizationService(ServerRequestInterface $request): AuthorizationServiceInterface { $key = 'Auth.Authorization.serviceLoader'; return $this->loadService($request, $key); } /** * {@inheritdoc} */ public function middleware(MiddlewareQueue $middlewareQueue): MiddlewareQueue { $loader = $this->getLoader('Users.middlewareQueueLoader'); return $loader($middlewareQueue, $this); } /** * Load a service defined in configuration $loaderKey * * @param \Psr\Http\Message\ServerRequestInterface $request The request. * @param string $loaderKey service loader key * * @return mixed */ protected function loadService(ServerRequestInterface $request, $loaderKey) { $serviceLoader = $this->getLoader($loaderKey); return $serviceLoader($request); } /** * Get the loader callable * * @param string $loaderKey loader configuration key * @return callable */ protected function getLoader($loaderKey) { $serviceLoader = Configure::read($loaderKey); if (is_string($serviceLoader)) { $serviceLoader = new $serviceLoader(); } return $serviceLoader; } }