static void clearResolvedInstances() Clear all of the resolved instances. Return Value void
static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void
bool check(string $ability, array|mixed $arguments = array()) Determine if the given ability should be granted. Parameters string $ability array|mixed $arguments Return Value bool
bool check(string $ability, array|mixed $arguments = array()) Determine if the given ability should be granted for the current user. Parameters string $ability array|mixed $arguments Return Value bool
$this before(callable $callback) Register a callback to run before all Gate checks. Parameters callable $callback Return Value $this
Response authorize(string $ability, array|mixed $arguments = array()) Determine if the given ability should be granted for the current user. Parameters string $ability array|mixed $arguments Return Value Response Exceptions AuthorizationException
bool allows(string $ability, array|mixed $arguments = array()) Determine if the given ability should be granted for the current user. Parameters string $ability array|mixed $arguments Return Value bool
Page 633 of 996