/** * @param PathElement $pathElement */ public function __construct($pathElement) { parent::__construct(); $this->path = array($pathElement); }
/** * @param mixed $value */ public function __construct($value) { parent::__construct(); $this->value = $value; }
/** * @param string $name */ public function __construct($name) { parent::__construct(); $this->name = $name; }
public function __construct(Token $token) { parent::__construct(); $this->root = $token; }