src/JsonApi/Serializer/ItemNormalizer.php
private function getJsonApiCacheKey(?string $format, array $context)
    {
        try {
            return md5($format.serialize($context));
        } catch (\Exception $exception) {
            // The context cannot be serialized, skip the cache
            return false;
        }
    }
private function getJsonApiCacheKey(?string $format, array $context)
    {
        try {
            return md5($format.serialize($context));
        } catch (\Exception $exception) {
            // The context cannot be serialized, skip the cache
            return false;
        }
    }
private function getJsonApiCacheKey ( ? string $ format , array $ context ) { try { return md5 ( $ format . serialize ( $ context ) ) ; } catch ( \ Exception $ exception ) { // The context cannot be serialized, skip the cache return false ; } }
Gets the cache key to use.

@return bool|string
Gets the cache key to use .