Bolt\Extension\Manager::isClassLoadable PHP Method

isClassLoadable() private method

This comes about as local extensions that are moved or removed will over emmit warnings while trying to validly rebuild autoloaders.
private isClassLoadable ( string $className ) : boolean
$className string
return boolean
    private function isClassLoadable($className)
    {
        try {
            $exists = class_exists($className);
        } catch (ContextErrorException $e) {
            if ($e->getSeverity() === E_WARNING && basename($e->getFile()) === 'ClassLoader.php') {
                return false;
            }
            throw $e;
        }
        return $exists;
    }