value = $store[$index]; $this->store = $store; $this->index = $index; } public function __toString() { return htmlspecialchars( $this->value, ENT_COMPAT ); } public function getNextSibling() { return PPNode_Hash_Tree::factory( $this->store, $this->index + 1 ); } public function getChildren() { return false; } public function getFirstChild() { return false; } public function getChildrenOfType( $name ) { return false; } public function getLength() { return false; } public function item( $i ) { return false; } public function getName() { return '#text'; } public function splitArg() { // @phan-suppress-previous-line PhanPluginNeverReturnMethod throw new LogicException( __METHOD__ . ': not supported' ); } public function splitExt() { // @phan-suppress-previous-line PhanPluginNeverReturnMethod throw new LogicException( __METHOD__ . ': not supported' ); } public function splitHeading() { // @phan-suppress-previous-line PhanPluginNeverReturnMethod throw new LogicException( __METHOD__ . ': not supported' ); } } /** @deprecated class alias since 1.43 */ class_alias( PPNode_Hash_Text::class, 'PPNode_Hash_Text' );