1 | <?php declare(strict_types=1); |
||
13 | class Description extends RuleAbstract |
||
14 | { |
||
15 | const NODE_NAME = 'description'; |
||
16 | |||
17 | /** |
||
18 | * @param NodeInterface $node |
||
19 | * @param \DOMElement $element |
||
20 | */ |
||
21 | 8 | public function setProperty(NodeInterface $node, \DOMElement $element) : void |
|
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | 3 | protected function hasValue(NodeInterface $node) : bool |
|
42 | |||
43 | /** |
||
44 | * @inheritDoc |
||
45 | */ |
||
46 | 3 | protected function addElement(\DomDocument $document, \DOMElement $rootElement, NodeInterface $node) : void |
|
52 | } |
||
53 |