Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class NameSpaceHandler extends AttributeHandler |
||
11 | { |
||
12 | protected DOMNameSpaceNode $nodeNameSpace; |
||
13 | |||
14 | public function __construct(DOMNameSpaceNode $nameSpaceNode, AbstractDomDocumentHandler $domDocumentHandler, int $index = -1) |
||
15 | { |
||
16 | parent::__construct(new DOMAttr($nameSpaceNode->nodeName, $nameSpaceNode->nodeValue), $domDocumentHandler, $index); |
||
17 | $this->nodeNameSpace = $nameSpaceNode; |
||
18 | } |
||
19 | |||
20 | public function getValue(bool $withNamespace = false, bool $withinItsType = true, ?string $asType = self::DEFAULT_VALUE_TYPE) |
||
23 | } |
||
24 | |||
25 | public function getValueNamespace(): ?string |
||
30 |