Mpociot\VatCalculator\VatCalculatorServiceProvider::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('VatCalculator', 'Mpociot\\VatCalculator\\Facades\\VatCalculator');
        });
    }