App\Providers\AccessServiceProvider::registerFacade PHP Méthode

registerFacade() public méthode

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