| Total Complexity | 6 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class NullContainer extends Singleton implements \IContainer { |
||
| 9 | |||
| 10 | public function __set($name, $value) { |
||
| 11 | } |
||
| 12 | |||
| 13 | public function __isset($name) { |
||
| 14 | return false; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function __get($name) { |
||
| 18 | return null; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function __unset($name) { |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Is container contains no data |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function isEmpty() { |
||
| 30 | return true; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Clears container contents |
||
| 35 | */ |
||
| 36 | public function clear() { |
||
| 37 | } |
||
| 38 | |||
| 40 |