GeneaLabs\LaravelGovernor\Providers\LaravelGovernorServiceProvider::registerPolicies PHP Method

registerPolicies() public method

public registerPolicies ( Illuminate\Contracts\Auth\Access\Gate $gate )
$gate Illuminate\Contracts\Auth\Access\Gate
    public function registerPolicies(GateContract $gate)
    {
        foreach ($this->policies as $key => $value) {
            $gate->policy($key, $value);
        }
    }