public function setErrorPage(\Newscoop\Entity\Resource $errorPage = NULL) { $this->__load(); return parent::setErrorPage($errorPage); }