/** * Get a data. * * @param mixed $offset Data name. * @return mixed */ public function offsetGet($offset) { $out = parent::offsetGet($offset); $this->offsetUnset($offset); return $out; }