PHP Class Symfony\Component\HttpKernel\Controller\ControllerResolver
This implementation uses the '_controller' request attribute to determine
the controller to execute and uses the request attributes to determine
the controller method arguments.
Mostrar archivo
Open project: symfony/symfony
Class Usage Examples
Public Methods
Protected Methods
Private Methods
Method Details
__construct()
public method
public __construct ( Psr\Log\LoggerInterface $logger = null ) |
$logger |
Psr\Log\LoggerInterface |
A LoggerInterface instance |
createController()
protected method
Returns a callable for the given controller.
doGetArguments()
protected method
getArguments()
public method
public getArguments ( Request $request, $controller ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
getController()
public method
This method looks for a '_controller' request attribute that represents
the controller name (a string like ClassName::MethodName).
public getController ( Request $request ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
instantiateController()
protected method
Returns an instantiated controller.