class GateEvaluated (View source)

Properties

Authenticatable|null $user

The authenticatable model.

string $ability

The ability being evaluated.

bool|null $result

The result of the evaluation.

array $arguments

The arguments given during evaluation.

Methods

__construct(Authenticatable|null $user, string $ability, bool|null $result, array $arguments)

Create a new event instance.

Details

__construct(Authenticatable|null $user, string $ability, bool|null $result, array $arguments)

Create a new event instance.

Parameters

Authenticatable|null $user
string $ability
bool|null $result
array $arguments

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.