class ControllerResolver extends ControllerResolver

ControllerResolver that supports "a:b:c", "service:method" and class::method" notations in routes definition thus allowing the definition of controllers as service (see http://symfony.com/fr/doc/current/cookbook/controller/service.html)

Methods

__construct( ContainerInterface $container, LoggerInterface $logger = null)

Constructor.

Details

at line 37
__construct( ContainerInterface $container, LoggerInterface $logger = null)

Constructor.

Parameters

ContainerInterface $container A ContainerInterface instance
LoggerInterface $logger A LoggerInterface instance