/** * Returns the project * * @return TBGProject */ public function getProject() { return $this->_project !== null || !is_object($this->_edition) ? $this->_project : $this->_edition->getProject(); }