final class ValidTextNoLinkRule implements ValidationRuleInterface (View source)

Traits

Methods

matchesString(mixed $value, string $pattern)
bool
matchesScalar(mixed $value, string $pattern)
bool
bool
validate(mixed $value, string|null $param, array $data)
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

validate

bool validate(mixed $value, string|null $param, array $data)

No description

Parameters

mixed $value
string|null $param
array $data

Return Value

bool