Symfony\Bundle\FrameworkBundle\Controller\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).
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ControllerNameParser
{
- // members
- protected $kernel;
- // methods
- public void __construct()
- public string parse()
- public string build()
Members
protected
- $kernel
Methods
public
- __construct() — Constructor.
- build() — Converts a class::method notation to a short one (a:b:c).
- parse() — Converts a short notation a:b:c to a class::method.