Components_Module_Installer::handle PHP Method

handle() public method

Determine if this module should act. Run all required actions if it has been instructed to do so.
public handle ( Components_Config $config ) : boolean
$config Components_Config The configuration.
return boolean True if the module performed some action.
    public function handle(Components_Config $config)
    {
        $options = $config->getOptions();
        $arguments = $config->getArguments();
        if (!empty($options['install']) || isset($arguments[0]) && $arguments[0] == 'install') {
            $this->_dependencies->getRunnerInstaller()->run();
            return true;
        }
    }