/** * * @return \Project_OneStepCreation_OneStepCreationValidator */ private function validateLicense() { if ($this->creation_request->getLicenseType() === null) { $GLOBALS['Response']->addFeedback('error', $GLOBALS['Language']->getText('register_projectname', 'info_missed')); $this->setIsNotValid(); } return $this; }
/** * * @return string */ public function getLicenseType() { return $this->creation_request->getLicenseType(); }