| Total Complexity | 7 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class ContainerPlus extends Container implements Interfaces\IContainer { |
||
| 15 | |||
| 16 | public function __set($name, $value) { |
||
| 17 | $this->offsetSet($name, $value); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function __get($name) { |
||
| 21 | return $this->offsetGet($name); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function __isset($name) { |
||
| 25 | return $this->offsetExists($name); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function __unset($name) { |
||
| 29 | $this->offsetUnset($name); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function __call($name, $arguments) { |
||
| 33 | return call_user_func_array($this->$name, $arguments); |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Is container contains no data |
||
| 38 | * |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | public function isEmpty() { |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Clears container contents |
||
| 48 | * |
||
| 49 | * @return mixed |
||
| 50 | */ |
||
| 51 | public function clear() { |
||
| 56 |