interface Authorizable

Methods

bool
can(string $ability, array|mixed $arguments = [])

Determine if the entity has a given ability.

Details

at line 14
bool can(string $ability, array|mixed $arguments = [])

Determine if the entity has a given ability.

Parameters

string $ability
array|mixed $arguments

Return Value

bool