trait RegexValidationTrait (View source)

Methods

bool
matchesString(mixed $value, string $pattern)
bool
bool
matchesScalar(mixed $value, string $pattern)
bool

Details

matchesString

protected bool matchesString(mixed $value, string $pattern)

No description

Parameters

mixed $value
string $pattern

Return Value

bool

matchesScalar

protected bool matchesScalar(mixed $value, string $pattern)

No description

Parameters

mixed $value
string $pattern

Return Value

bool