[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/http-kernel/Controller/ -> ControllerResolver.php (summary)

(no description)

File Size: 189 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ControllerResolver:: (6 methods):

Class: ControllerResolver  - X-Ref

This implementation uses the '_controller' request attribute to determine
the controller to execute and uses the request attributes to determine
the controller method arguments.

__construct(LoggerInterface $logger = null)   X-Ref
If scalar types exists.

getController(Request $request)   X-Ref

This method looks for a '_controller' request attribute that represents
the controller name (a string like ClassName::MethodName).

getArguments(Request $request, $controller)   X-Ref

doGetArguments(Request $request, $controller, array $parameters)   X-Ref

param: Request                $request
param: callable               $controller
param: \ReflectionParameter[] $parameters
return: array The arguments to use when calling the action

createController($controller)   X-Ref
Returns a callable for the given controller.

param: string $controller A Controller string
return: callable A PHP callable

instantiateController($class)   X-Ref
Returns an instantiated controller.

param: string $class A class name
return: object

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1