|
mixed | _getMissingProp (string $prop) |
| Handle an attempt to get a non-existing property on this object.
|
|
◆ _getMissingProp()
mixed Wikimedia\IDLeDOM\Helper\Error::_getMissingProp |
( |
string | $prop | ) |
|
|
protected |
Handle an attempt to get a non-existing property on this object.
The default implementation raises an exception but the implementor can choose a different behavior: return null (like JavaScript), dynamically create the property, etc.
- Parameters
-
string | $prop | the name of the property requested |
- Returns
- mixed
The documentation for this class was generated from the following file: