Silber\Bouncer\Factory::getGate PHP Метод

getGate() защищенный Метод

Get an instance of the gate.
protected getGate ( ) : Illuminate\Contracts\Auth\Access\Gate
Результат Illuminate\Contracts\Auth\Access\Gate
    protected function getGate()
    {
        if ($this->gate) {
            return $this->gate;
        }
        return new Gate($this->getContainer(), function () {
            return $this->user;
        });
    }