ValidPhoneHeavyRule
final class ValidPhoneHeavyRule implements ValidationRuleInterface (View source)
Traits
Methods
matchesString(mixed $value, string $pattern)
bool
matchesScalar(mixed $value, string $pattern)
bool
isEmptyString(string|null $value)
bool
array
formatDialingCode(string $number)
array
validate(mixed $value, string|null $param, array $data)
bool
Details
matchesString
protected bool
matchesString(mixed $value, string $pattern)
No description
matchesScalar
protected bool
matchesScalar(mixed $value, string $pattern)
No description
isEmptyString
protected bool
isEmptyString(string|null $value)
No description
getPhoneDialingCode
protected array
getPhoneDialingCode()
No description
formatDialingCode
protected array
formatDialingCode(string $number)
No description
validate
bool
validate(mixed $value, string|null $param, array $data)
No description