private function createChange() : Change
    {
        $changeClass = '\\CaptainHook\\App\\Runner\\Config\\Change\\' . $this->change;
        if (!class_exists($changeClass)) {
            throw new \RuntimeException('Invalid change requested');
        }

        return new $changeClass($this->io, $this->hookToEdit);
    }
private function createChange() : Change
    {
        $changeClass = '\\CaptainHook\\App\\Runner\\Config\\Change\\' . $this->change;
        if (!class_exists($changeClass)) {
            throw new \RuntimeException('Invalid change requested');
        }

        return new $changeClass($this->io, $this->hookToEdit);
    }
private function createChange ( ) : Change { $ changeClass = '\\CaptainHook\\App\\Runner\\Config\\Change\\' . $ this -> change ; if ( ! class_exists ( $ changeClass ) ) { throw new \ RuntimeException ( 'Invalid change requested' ) ; } return new $ changeClass ( $ this -> io , $ this -> hookToEdit ) ; }
Create an config edit command

@return \CaptainHook\App\Runner\Config\Change
@throws \RuntimeException
Create an config edit command