| 1 | <?php |
||
| 11 | class NullValue implements JsonSerializable |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Magic method to return properties or load them automatically. |
||
| 15 | * |
||
| 16 | * @param string $name |
||
| 17 | */ |
||
| 18 | public function __get($name) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Magic method to store properties. |
||
| 25 | * |
||
| 26 | * @param string $name |
||
| 27 | * @param mixed $value |
||
| 28 | */ |
||
| 29 | public function __set($name, $value) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Magic method to check if a property is defined or is empty. |
||
| 36 | * |
||
| 37 | * @param string $name Property name |
||
| 38 | * |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | public function __isset($name) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Magic method to print the row values (and subvalues). |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function __toString() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @see JsonSerializable |
||
| 58 | * |
||
| 59 | * @return mixed |
||
| 60 | */ |
||
| 61 | public function jsonSerialize() |
||
| 65 | } |
||
| 66 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.