public function __get($property) { if (method_exists($this, 'get' . ucfirst($property))) { return $this->{'get' . ucfirst($property)}(); } else { return; } }