2 namespace Valuation\Controller;
7 class ValuationController extends \Zend\Mvc\Controller\AbstractActionController
11 * @var \Zend\Session\Container
23 * @var \Zend\ServiceManager\ServiceManager
31 protected $authenticated = false;
33 * @var \User\Service\Authentication
35 protected $authDetails;
39 public function pushChangeAction()
41 \Utility\Registry::setServiceManager($this->serviceLocator);
42 \Utility\Registry::addDynamicConfig(
43 \Utility\Registry::getEntityManager()
44 ->getRepository('Config\Entity\Config')
48 $service = new \Valuation\Service\Valuation();
49 $service->setWorkflow($this->serviceLocator->get('Valuation'));
50 $changeCode = $this->getRequest()->getParam('changeCode');
51 $id = $this->getRequest()->getParam('id');
52 $skipId = $this->getRequest()->getParam('skipId');
53 $service->pushChange($changeCode, $id, $skipId);