public function applyTo(Config $config)
    {
        $hookConfig   = $config->getHookConfig($this->hookToChange);
        $setup        = new Advanced($this->io);
        $actionConfig = $setup->getActionConfig();

        $hookConfig->addAction($actionConfig);
    }
public function applyTo(Config $config)
    {
        $hookConfig   = $config->getHookConfig($this->hookToChange);
        $setup        = new Advanced($this->io);
        $actionConfig = $setup->getActionConfig();

        $hookConfig->addAction($actionConfig);
    }
public function applyTo ( Config $ config ) { $ hookConfig = $ config -> getHookConfig ( $ this -> hookToChange ) ; $ setup = new Advanced ( $ this -> io ) ; $ actionConfig = $ setup -> getActionConfig ( ) ; $ hookConfig -> addAction ( $ actionConfig ) ; }
Apply changes to the given config

@param  \CaptainHook\App\Config $config
@throws \Exception
Apply changes to the given config