1 | <?php |
||
8 | class NullValue implements ValueObjectInterface |
||
9 | { |
||
10 | /** |
||
11 | * @throws \BadMethodCallException |
||
12 | */ |
||
13 | 1 | public static function fromNative() |
|
17 | |||
18 | /** |
||
19 | * Returns a new NullValue object |
||
20 | * |
||
21 | * @return static |
||
22 | */ |
||
23 | 5 | public static function create() |
|
27 | |||
28 | /** |
||
29 | * Tells whether two objects are both NullValue |
||
30 | * @param ValueObjectInterface $null |
||
31 | * @return bool |
||
32 | */ |
||
33 | 5 | public function sameValueAs(ValueObjectInterface $null) |
|
37 | |||
38 | /** |
||
39 | * Returns a string representation of the NullValue object |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 1 | public function __toString() |
|
47 | } |
||
48 |