App\Providers\AccessServiceProvider::registerFacade PHP Method

registerFacade() public method

Register the vault facade without the user having to add it to the app.php file.
public registerFacade ( ) : void
return void
    public function registerFacade()
    {
        $this->app->booting(function () {
            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
            $loader->alias('Access', \App\Services\Access\Facades\Access::class);
        });
    }