protected _matchOrAsterisk ( string | array $possibleValues, string | mixed | null $value, boolean $allowEmpty = false ) : boolean | ||
$possibleValues | string | array | Values that are accepted (from permission config) |
$value | string | mixed | null | Value to check with. We'll check the DASHERIZED value too |
$allowEmpty | boolean | If true and $value is null, the rule will pass |
return | boolean |