| 1 | <?php |
||
| 13 | final class AttributePrefixInheritanceVisitor implements AttributeVisitorInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var XmlElement |
||
| 17 | */ |
||
| 18 | private $element; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * AttributePrefixInheritanceVisitor constructor. |
||
| 22 | * |
||
| 23 | * @param XmlElement $element |
||
| 24 | */ |
||
| 25 | public function __construct(XmlElement $element) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param Attribute $attribute |
||
| 32 | */ |
||
| 33 | public function visitAttribute(Attribute $attribute) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param XmlAttribute $attribute |
||
| 39 | */ |
||
| 40 | public function visitXmlAttribute(XmlAttribute $attribute) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param XmlAttribute $attribute |
||
| 47 | */ |
||
| 48 | private function inheritPrefix(XmlAttribute $attribute) |
||
| 54 | } |