Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand::getShellType PHP Метод

getShellType() защищенный Метод

Determine the shell type for use with HookFactory
protected getShellType ( ) : string
Результат string
    protected function getShellType()
    {
        if (!getenv('SHELL')) {
            throw new \RuntimeException('Could not read SHELL environment variable. Please specify your shell type using the --shell-type option.');
        }
        return basename(getenv('SHELL'));
    }