public function getPhpPresentation() { if (empty($this->oPresentation)) { throw new \Exception("No PhpPresentation assigned."); } return $this->oPresentation; }