public function __get($propertyName) { switch ($propertyName) { case 'contentInfo': return $this->getContentInfo(); } return parent::__get($propertyName); }