/** * @inheritdoc * * @param bool $descendantAxis traverse children of children */ public function __construct(XMLReader $reader, $name = null, $descendantAxis = false) { parent::__construct($reader, $name); $this->descendTree = $descendantAxis; }