Gate::has PHP Méthode

has() public static méthode

Determine if a given ability has been defined.
public static has ( string $ability ) : boolean
$ability string
Résultat boolean
        public static function has($ability)
        {
            return \Illuminate\Auth\Access\Gate::has($ability);
        }