| 1 | <?php |
||
| 5 | class NameSpaceHandler extends AttributeHandler |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var \DOMNameSpaceNode |
||
| 9 | */ |
||
| 10 | private $nodeNameSpace; |
||
| 11 | /** |
||
| 12 | * @param \DOMNameSpaceNode $nameSpaceNode |
||
| 13 | * @param AbstractDomDocumentHandler $domDocumentHandler |
||
| 14 | * @param int $index |
||
| 15 | */ |
||
| 16 | 8 | public function __construct(\DOMNameSpaceNode $nameSpaceNode, AbstractDomDocumentHandler $domDocumentHandler, $index = -1) |
|
| 21 | /** |
||
| 22 | * value is always with [http|https]:// so we need to keep the full value |
||
| 23 | * @param bool $withNamespace |
||
| 24 | * @param bool $withinItsType |
||
| 25 | * @param string $asType |
||
| 26 | * @return mixed |
||
| 27 | */ |
||
| 28 | public function getValue($withNamespace = false, $withinItsType = true, $asType = null) |
||
| 32 | /** |
||
| 33 | * @return null|string |
||
| 34 | */ |
||
| 35 | 4 | public function getValueNamespace() |
|
| 39 | } |
||
| 40 |
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.