Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\Route::__construct PHP Method

__construct() public method

Additional supported option is: * add_trailing_slash: When set, a trailing slash is appended to the route
public __construct ( array $options = [] )
$options array
    public function __construct(array $options = array())
    {
        parent::__construct($options);
        $this->children = new ArrayCollection();
    }

Usage Example

 public function __construct()
 {
     parent::__construct();
     $this->createDate = new \DateTime();
     $this->containerBlocks = new ArrayCollection();
 }