24use InvalidArgumentException;
51 $descriptor = $store[$index];
53 throw new InvalidArgumentException( __METHOD__ .
': invalid name in attribute descriptor' );
57 $this->store = $store;
58 $this->index = $index;
62 return "<@{$this->name}>" . htmlspecialchars( $this->value, ENT_COMPAT ) .
"</@{$this->name}>";
89 public function item( $i ) {
95 throw new LogicException( __METHOD__ .
': not supported' );
100 throw new LogicException( __METHOD__ .
': not supported' );
105 throw new LogicException( __METHOD__ .
': not supported' );
110class_alias( PPNode_Hash_Attr::class,
'PPNode_Hash_Attr' );