Just add implements ArrayAccess
to your class and add the required methods:
- public function offsetExists($offset)
- public function offsetGet($offset)
- public function offsetSet($offset, $value)
- public function offsetUnset($offset)
Just add implements ArrayAccess
to your class and add the required methods: