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