Barryvdh\LaravelIdeHelper\Console\MetaCommand::registerClassAutoloadExceptions PHP Method

registerClassAutoloadExceptions() protected method

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.");
        });
    }