function ValidatorInterface::getPattern
Returns the regular expression pattern used by this validator
@psalm-return non-empty-string
Return value
string The regular expression pattern this validator uses
2 methods override ValidatorInterface::getPattern()
- GenericValidator::getPattern in vendor/
ramsey/ uuid/ src/ Validator/ GenericValidator.php - @psalm-return non-empty-string @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty
- Validator::getPattern in vendor/
ramsey/ uuid/ src/ Rfc4122/ Validator.php - @psalm-return non-empty-string @psalm-suppress MoreSpecificReturnType we know that the retrieved `string` is never empty @psalm-suppress LessSpecificReturnStatement we know that the retrieved `string` is never empty
File
-
vendor/
ramsey/ uuid/ src/ Validator/ ValidatorInterface.php, line 31
Class
- ValidatorInterface
- A validator validates a string as a proper UUID
Namespace
Ramsey\Uuid\ValidatorCode
public function getPattern() : string;