public function install($version, $stage = null)
    {
        $deploymentStrategy = $this->getContainer()->get('deployment_strategy');

        $result = $deploymentStrategy->install($version, $stage);

        $this->dispatch(AccompliEvents::INSTALL_COMMAND_COMPLETE);

        return $result;
    }
public function install($version, $stage = null)
    {
        $deploymentStrategy = $this->getContainer()->get('deployment_strategy');

        $result = $deploymentStrategy->install($version, $stage);

        $this->dispatch(AccompliEvents::INSTALL_COMMAND_COMPLETE);

        return $result;
    }
public function install ( $ version , $ stage = null ) { $ deploymentStrategy = $ this -> getContainer ( ) -> get ( 'deployment_strategy' ) ; $ result = $ deploymentStrategy -> install ( $ version , $ stage ) ; $ this -> dispatch ( AccompliEvents :: INSTALL_COMMAND_COMPLETE ) ; return $ result ; }
Triggers the install on the configured deployment strategy.

@param string      $version
@param string|null $stage

@return bool
Triggers the install on the configured deployment strategy .