public function __construct(ARouteNode $parent, $value, $identifier, $pattern)
 {
     parent::__construct();
     $this->setParent($parent);
     $this->identifier = $identifier;
     $this->identifierWithPrefix = ':' . $this->identifier;
     $tmp = str_replace(':' . $identifier, '(?<ident>' . $pattern . ')', $value);
     $this->fullPattern = '/^' . $tmp . '$/';
     $this->value = $value;
 }
 public function __construct(ARouteNode $parent, $defaults)
 {
     parent::__construct();
     $this->setParent($parent);
     $this->defaults = $defaults;
 }
 public function __construct(ARouteNode $parent, $identifier)
 {
     parent::__construct();
     $this->setParent($parent);
     $this->identifier = $identifier;
 }