ApplicationAwareControllerResolver
class ApplicationAwareControllerResolver extends ControllerResolver implements ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected LoggerInterface | $logger |
Methods
getController(Request $request)
{@inheritdoc}
mixed
createController(string $controller)
Returns a callable for the given controller.
Details
setApplication(Application $app)
Setter method for the application
__construct(Application $app, LoggerInterface $logger = null)
No description
getController(Request $request)
{@inheritdoc}
This method looks for a '_controller' request attribute that represents the controller name (a string like ClassName::MethodName).
protected mixed
createController(string $controller)
Returns a callable for the given controller.