Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser::build
Converts a class::method notation to a short one (a:b:c).
Signature
public function build(string
$controller )
Parameters
$controller
— string- A string in the class::method notation
Returns
- string
- A short notation controller (a:b:c)
Errors/Exceptions
-
InvalidArgumentException
- when the controller is not valid or cannot be found in any bundle