[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/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):
  __construct()
  getController()
  getArguments()
  doGetArguments()
  createController()
  instantiateController()
  getControllerError()
  typeMatchesRequestClass()


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
{@inheritdoc}

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

getArguments(Request $request, $controller)   X-Ref
{@inheritdoc}


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: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1