1 | <?php |
||
13 | abstract class DOMNode implements XMLDocumentInterface |
||
14 | { |
||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | abstract public function setNodeValue($value); |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | abstract public function getNodeValue(); |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | 8 | public function attributes(array $except = []) |
|
32 | |||
33 | /** |
||
34 | * @inheritdoc |
||
35 | */ |
||
36 | abstract public function getElement(); |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | 149 | public function setAttribute($name, $value = null) |
|
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 109 | public function getAttribute($name) |
|
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | 149 | public function setAttributeNS($namespaceURI, $qualifiedName, $value) |
|
61 | |||
62 | /** |
||
63 | * @inheritdoc |
||
64 | */ |
||
65 | 81 | public function getAttributeNS($namespaceURI, $localName) |
|
69 | |||
70 | 149 | public function appendChild(XMLDocumentInterface $newNode) |
|
74 | |||
75 | /** |
||
76 | * @inheritdoc |
||
77 | */ |
||
78 | 149 | public function createElement($name, $value = null) |
|
85 | |||
86 | /** |
||
87 | * @inheritdoc |
||
88 | */ |
||
89 | public function createElementNS($namespaceURI, $qualifiedName, $value = null) |
||
93 | |||
94 | /** |
||
95 | * @inheritdoc |
||
96 | */ |
||
97 | 9 | public function removeNode(XMLDocumentInterface $child) |
|
101 | |||
102 | /** |
||
103 | * @inheritdoc |
||
104 | */ |
||
105 | 62 | public function saveHTML() |
|
109 | |||
110 | 2 | public function saveXML($formatOutput) |
|
114 | |||
115 | /** |
||
116 | * @inheritdoc |
||
117 | */ |
||
118 | 149 | public static function isLoaded() |
|
122 | |||
123 | 1 | public function __debugInfo() |
|
129 | } |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.