type = $type; $this->byRef = $byRef; $this->variadic = $variadic; $this->name = $name; $this->default = $default; if ($variadic && null !== $default) { throw new Error('Variadic parameter cannot have a default value', $default->getAttributes()); } } public function getSubNodeNames() { return array('type', 'byRef', 'variadic', 'name', 'default'); } }