Overrides ValidatorInterface::validate
public function validate(string $uuid) : bool { $uuid = str_replace([ 'urn:', 'uuid:', 'URN:', 'UUID:', '{', '}', ], '', $uuid); return $uuid === Uuid::NIL || preg_match('/' . self::VALID_PATTERN . '/Dms', $uuid); }