| Total Complexity | 8 | 
| Total Lines | 41 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | class ArrayAccessible implements ArrayAccess, IteratorAggregate, Arrayable  | 
            ||
| 14 | { | 
            ||
| 15 | private $array;  | 
            ||
| 16 | |||
| 17 | public function __construct(array $array = [])  | 
            ||
| 18 |     { | 
            ||
| 19 | $this->array = $array;  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | public function offsetExists($offset)  | 
            ||
| 23 |     { | 
            ||
| 24 | return array_key_exists($offset, $this->array);  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | public function offsetGet($offset)  | 
            ||
| 28 |     { | 
            ||
| 29 | return $this->array[$offset];  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | public function offsetSet($offset, $value)  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 | public function offsetUnset($offset)  | 
            ||
| 44 | }  | 
            ||
| 45 | |||
| 46 | public function getIterator()  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 51 | public function toArray()  | 
            ||
| 54 | }  | 
            ||
| 55 | }  | 
            ||
| 56 |