/** * @param type $input * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function newAnswer($input) { $this->_applicant->lock(); $this->_controller->getEntityManager()->persist($this->_applicant); $this->_controller->addMessage('success', 'Your application has been submitted.'); $this->_controller->redirectUrl($this->_controller->getActionPath()); }