Cake\Console\ShellDispatcher::_shellExists PHP Метод

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

Check if a shell class exists for the given name.
protected _shellExists ( string $shell ) : string | boolean
$shell string The shell name to look for.
Результат string | boolean Either the classname or false.
    protected function _shellExists($shell)
    {
        $class = App::className($shell, 'Shell', 'Shell');
        if (class_exists($class)) {
            return $class;
        }
        return false;
    }