Sensio\Bundle\GeneratorBundle\Manipulator\RoutingManipulator
Changes the PHP code of a YAML routing file.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class RoutingManipulator
extends Manipulator
{
- // members
- private $file;
- // methods
- public void __construct()
- public Boolean addResource()
- // Inherited methods from Manipulator
- protected void setCode()
- protected void next()
- protected void peek()
- protected void value()
Hierarchy
Members
private
- $file
protected
- $line
- $tokens
Methods
public
- __construct() — Constructor.
- addResource() — Adds a routing resource at the top of the existing ones.