Authorize
class Authorize (View source)
Properties
protected Factory | $auth | The authentication factory instance. |
|
protected Gate | $gate | The gate instance. |
Methods
void
mixed
array|string|Model
bool
isClassName(string $value)
Checks if the given string looks like a fully qualified class name.
Details
mixed
handle(Request $request, Closure $next, string $ability, array|null ...$models)
Handle an incoming request.
protected array|string|Model
getGateArguments(Request $request, array|null $models)
Get the arguments parameter for the gate.
protected bool
isClassName(string $value)
Checks if the given string looks like a fully qualified class name.