[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




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

(no description)

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

Defines 1 class

ControllerResolver:: (8 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: 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

getControllerError($callable)   X-Ref
No description

typeMatchesRequestClass(\ReflectionParameter $param, Request $request)   X-Ref

return: bool

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1