Example #1
0
 public function __construct($name, $typeHint = null, Expression $defaultValue = null, $isPassedByReference = false, $isVariadic = false)
 {
     parent::__construct($name);
     $this->typeHint = $typeHint;
     $this->defaultValue = $defaultValue;
     $this->isPassedByReference = $isPassedByReference;
     $this->isVariadic = $isVariadic;
 }
 public function __construct($name, $isReference)
 {
     parent::__construct($name);
     $this->isReference = $isReference;
 }