public function deserialize(VisitorInterface $visitor, $data, Type $type, Context $context): ?UuidInterface
    {
        if (empty($data)) {
            return $visitor->visitNull(null, Type::null(), $context);
        }

        return Uuid::fromString($data);
    }
public function deserialize(VisitorInterface $visitor, $data, Type $type, Context $context): ?UuidInterface
    {
        if (empty($data)) {
            return $visitor->visitNull(null, Type::null(), $context);
        }

        return Uuid::fromString($data);
    }
public function deserialize ( VisitorInterface $ visitor , $ data , Type $ type , Context $ context ) : ? UuidInterface { if ( empty ( $ data ) ) { return $ visitor -> visitNull ( null , Type :: null ( ) , $ context ) ; } return Uuid :: fromString ( $ data ) ; }
Converts a string representation into an Uuid object.
Converts a string representation into an Uuid object .