PolicyRuleInterface
in
Interface PolicyCheckInterface Check by function or policy handler.
Table of Contents
Methods
- check() : bool|null
- This method invoked by PolicyGate::check.
Methods
check()
This method invoked by PolicyGate::check.
public
check(string $entityType, User $user, mixed|null $resource[, int|null $newValue = null ]) : bool|null
Parameters
- $entityType : string
- $user : User
- $resource : mixed|null
- $newValue : int|null = null