Barryvdh\LaravelIdeHelper\Console\MetaCommand::registerClassAutoloadExceptions PHP Méthode

registerClassAutoloadExceptions() protected méthode

Register an autoloader the throws exceptions when a class is not found.
    protected function registerClassAutoloadExceptions()
    {
        spl_autoload_register(function ($class) {
            throw new \Exception("Class '{$class}' not found.");
        });
    }