Silber\Bouncer\Contracts\Clipboard::checkRole PHP Method

checkRole() public method

Check if an authority has the given roles.
public checkRole ( Model $authority, array | string $roles, string $boolean = 'or' ) : boolean
$authority Illuminate\Database\Eloquent\Model
$roles array | string
$boolean string
return boolean
    public function checkRole(Model $authority, $roles, $boolean = 'or');