private function createCommand() : Command\Hook
    {
        /* @var \CaptainHook\App\Console\Command\Hook $command */
        $class   = '\\CaptainHook\\App\\Console\\Command\\Hook\\' . Util::getHookCommand($this->hookToExecute);
        $command = new $class($this->getConfigFile(), $this->getRepositoryPath());
        $command->setHelperSet($this->getHelperSet());

        return $command;
    }
private function createCommand() : Command\Hook
    {
        /* @var \CaptainHook\App\Console\Command\Hook $command */
        $class   = '\\CaptainHook\\App\\Console\\Command\\Hook\\' . Util::getHookCommand($this->hookToExecute);
        $command = new $class($this->getConfigFile(), $this->getRepositoryPath());
        $command->setHelperSet($this->getHelperSet());

        return $command;
    }
private function createCommand ( ) : Command \ Hook { /* @var \CaptainHook\App\Console\Command\Hook $command */ $ class = '\\CaptainHook\\App\\Console\\Command\\Hook\\' . Util :: getHookCommand ( $ this -> hookToExecute ) ; $ command = new $ class ( $ this -> getConfigFile ( ) , $ this -> getRepositoryPath ( ) ) ; $ command -> setHelperSet ( $ this -> getHelperSet ( ) ) ; return $ command ; }
Create the hook command

@return \CaptainHook\App\Console\Command\Hook
Create the hook command