class Illuminate / Auth / Access / Events / GateEvaluated

GateEvaluated

Properties

public

$user Authenticatable |null

The authenticatable model.

Default: null
public

$ability string

The ability being evaluated.

Default: null
public

$result bool|null

The result of the evaluation.

Default: null
public

$arguments array

The arguments given during evaluation.

Default: null

Methods

public

__construct ( $user , $ability , $result , $arguments ) : void

Create a new event instance.

Parameters

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