$container
$container
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)
__construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, \Thelia\Core\Controller\LoggerInterface $logger)
Constructor.
| \Symfony\Component\DependencyInjection\ContainerInterface | $container | A ContainerInterface instance |
| \Thelia\Core\Controller\LoggerInterface | $logger | A LoggerInterface instance |
createController(string $controller) : mixed
Returns a callable for the given controller.
| string | $controller | A Controller string |
When the name could not be parsed
When the controller class does not exist
A PHP callable