Silber\Bouncer\BouncerServiceProvider::registerAtGate PHP Method

registerAtGate() protected method

Register the bouncer's clipboard at the gate.
protected registerAtGate ( ) : void
return void
    protected function registerAtGate()
    {
        $gate = $this->app->make(Gate::class);
        $clipboard = $this->app->make(Clipboard::class);
        $clipboard->registerAt($gate);
    }