1 | <?php |
||
11 | class MockNode extends InnerNode |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * Mock of innner html. |
||
16 | */ |
||
17 | public function innerHtml() |
||
20 | |||
21 | /** |
||
22 | * Mock of outer html. |
||
23 | */ |
||
24 | public function outerHtml() |
||
27 | |||
28 | /** |
||
29 | * Mock of text. |
||
30 | */ |
||
31 | public function text() |
||
34 | |||
35 | /** |
||
36 | * Clear content of this node |
||
37 | */ |
||
38 | protected function clear() |
||
44 | |||
45 | /** |
||
46 | * Returns all children of this html node. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | protected function getIteratorArray() |
||
54 | } |
||
55 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.