Gate::check PHP Méthode

check() public static méthode

Determine if the given ability should be granted for the current user.
public static check ( string $ability, array | mixed $arguments = [] ) : boolean
$ability string
$arguments array | mixed
Résultat boolean
        public static function check($ability, $arguments = array())
        {
            return \Illuminate\Auth\Access\Gate::check($ability, $arguments);
        }