public function __get($property) { return $this->offsetExists($property) ? $this->offsetGet($property) : null; }