function ValidatorInterface::validate
Same name in this branch
- 11.1.x vendor/symfony/validator/Validator/ValidatorInterface.php \Symfony\Component\Validator\Validator\ValidatorInterface::validate()
Returns true if the provided string represents a UUID
Parameters
string $uuid The string to validate as a UUID:
Return value
bool True if the string is a valid UUID, false otherwise
2 methods override ValidatorInterface::validate()
- GenericValidator::validate in vendor/
ramsey/ uuid/ src/ Validator/ GenericValidator.php - Returns true if the provided string represents a UUID
- Validator::validate in vendor/
ramsey/ uuid/ src/ Rfc4122/ Validator.php - Returns true if the provided string represents a UUID
File
-
vendor/
ramsey/ uuid/ src/ Validator/ ValidatorInterface.php, line 40
Class
- ValidatorInterface
- A validator validates a string as a proper UUID
Namespace
Ramsey\Uuid\ValidatorCode
public function validate(string $uuid) : bool;