protected function defineMany($gate, $class, array $policies)
    {
        foreach ($policies as $method => $ability) {
            $gate->define($ability, "$class@$method");
        }
    }
protected function defineMany($gate, $class, array $policies)
    {
        foreach ($policies as $method => $ability) {
            $gate->define($ability, "$class@$method");
        }
    }
protected function defineMany ( $ gate , $ class , array $ policies ) { foreach ( $ policies as $ method => $ ability ) { $ gate -> define ( $ ability , "$class@$method" ) ; } }
Define policies.

@param  \Illuminate\Contracts\Auth\Access\Gate  $gate
@param  string                                  $class
@param  array                                   $policies
Define policies .