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 | 12 | public function setProperty(NodeInterface $node, \DOMElement $element) : void |
|
34 | |||
35 | /** |
||
36 | * @param string $input |
||
37 | * @param NodeInterface $node |
||
38 | * @return string |
||
39 | */ |
||
40 | 12 | protected function processString(string $input, NodeInterface $node): string |
|
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | 5 | protected function hasValue(NodeInterface $node) : bool |
|
56 | |||
57 | /** |
||
58 | * @inheritDoc |
||
59 | */ |
||
60 | 5 | protected function addElement(\DomDocument $document, \DOMElement $rootElement, NodeInterface $node) : void |
|
70 | } |
||
71 |