<?php

namespace Fifa\ConnectId\Sdk\Registration;

interface CorrelationIdBasedItemProviderInterface
{
    /**
     * Method returns serialized data from the cache system.
     *
     * @param string $correlationId
     * @return MessageReceived|null
     */
    public function getByCorrelationId(string $correlationId);
}