mixed getPolicyFor(object|string $class) Get a policy instance for a given class. Parameters object|string $class Return Value mixed Exceptions InvalidArgumentException
static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed
static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application
Gate forUser(Authenticatable|mixed $user) Get a guard instance for the given user. Parameters Authenticatable|mixed $user Return Value Gate
Gate forUser(Authenticatable|mixed $user) Get a gate instance for the given user. Parameters Authenticatable|mixed $user Return Value Gate
bool denies(string $ability, array|mixed $arguments = array()) Determine if the given ability should be denied for the current user. Parameters string $ability array|mixed $arguments Return Value bool
$this define(string $ability, callable|string $callback) Define a new ability. Parameters string $ability callable|string $callback Return Value $this
$this define(string $ability, callable|string $callback) Define a new ability. Parameters string $ability callable|string $callback Return Value $this Exceptions InvalidArgumentException
Page 632 of 996