$this
public function addNameTest() : static { if ('*' !== $this->element) { $this->addCondition('name() = ' . Translator::getXpathLiteral($this->element)); $this->element = '*'; } return $this; }