Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser::parse
Converts a short notation a:b:c to a class::method.
Signature
public function parse(string
$controller )
Parameters
$controller
— string- A short notation controller (a:b:c)
Returns
- string
- A string in the class::method notation
Errors/Exceptions
-
InvalidArgumentException
- when the specified bundle is not enabled