public function offsetExists($prop) { $prop = $this->getRealPropertyName($prop); return property_exists($this, $prop); }