public function offsetSet($prop, $value) { $prop = $this->getRealPropertyName($prop); $this->{$prop} = $value; }