protected function executePhpAction(Config\Action $action) : void
    {
        $this->beforeAction();
        $runner = new Action\PHP();
        $runner->execute($this->config, $this->io, $this->repository, $action);
        $this->afterAction();
    }
protected function executePhpAction(Config\Action $action) : void
    {
        $this->beforeAction();
        $runner = new Action\PHP();
        $runner->execute($this->config, $this->io, $this->repository, $action);
        $this->afterAction();
    }
protected function executePhpAction ( Config \ Action $ action ) : void { $ this -> beforeAction ( ) ; $ runner = new Action \ PHP ( ) ; $ runner -> execute ( $ this -> config , $ this -> io , $ this -> repository , $ action ) ; $ this -> afterAction ( ) ; }
Execute a php hook action

@param  \CaptainHook\App\Config\Action $action
@return void
@throws \CaptainHook\App\Exception\ActionFailed
Execute a php hook action