[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




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

(no description)

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

Defines 1 class

ControllerResolverInterface:: (2 methods):

Interface: ControllerResolverInterface  - X-Ref

A ControllerResolverInterface implementation knows how to determine the
controller to execute based on a Request object.

It can also determine the arguments to pass to the Controller.

A Controller can be any valid PHP callable.

getController(Request $request)   X-Ref
Returns the Controller instance associated with a Request.

As several resolvers can exist for a single application, a resolver must
return false when it is not able to determine the controller.

The resolver must only throw an exception when it should be able to load
controller but cannot because of some errors made by the developer.

return: callable|false A PHP callable representing the Controller,

getArguments(Request $request, $controller)   X-Ref
Returns the arguments to pass to the controller.

param: Request  $request    A Request instance
param: callable $controller A PHP callable
return: array An array of arguments to pass to the controller

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