$this define(string $ability, callable|string $callback) Define a new ability
bool check(string $ability, array|mixed $arguments = array()) Determine
bool can(string $ability, array|mixed $arguments = array()) Determine if
$this before(callable $callback) Register a callback to run before all
bool has(string $ability) Determine if a given ability has been defined
Gate interface Gate (
Response authorize(string $ability, array|mixed $arguments = array())
mixed getPolicyFor(object|string $class) Get a policy instance for a given
bool denies(string $ability, array|mixed $arguments = array()) Determine
$this policy(string $class, string $policy) Define a policy class for a
Page 1 of 2