public function offsetGet($index) { if (!parent::offsetExists($index)) { throw new PropertyNotFoundException($index, __CLASS__); } return parent::offsetGet($index); }