10use InvalidArgumentException;
37 $descriptor = $store[$index];
39 throw new InvalidArgumentException( __METHOD__ .
': invalid name in attribute descriptor' );
43 $this->store = $store;
44 $this->index = $index;
48 return "<@{$this->name}>" . htmlspecialchars( $this->value, ENT_COMPAT ) .
"</@{$this->name}>";
82 public function item( $i ) {
89 throw new LogicException( __METHOD__ .
': not supported' );
95 throw new LogicException( __METHOD__ .
': not supported' );
101 throw new LogicException( __METHOD__ .
': not supported' );
106class_alias( PPNode_Hash_Attr::class,
'PPNode_Hash_Attr' );