ControllerNameParser
class ControllerNameParser
ControllerNameParser converts controller from the short notation a:b:c (BlogBundle:Post:index) to a fully-qualified class::method string (Bundle\BlogBundle\Controller\PostController::indexAction).
Methods
string
parse(string $controller)
Converts a short notation a:b:c to a class::method.
string
build(string $controller)
Converts a class::method notation to a short one (a:b:c).
Details
at line line 32
__construct(KernelInterface $kernel)
Constructor.
at line line 47
string
parse(string $controller)
Converts a short notation a:b:c to a class::method.
at line line 101
string
build(string $controller)
Converts a class::method notation to a short one (a:b:c).