Imbo\EventListener\MetadataCache::getCacheKey PHP Method

getCacheKey() private method

Generate a cache key
private getCacheKey ( string $user, string $imageIdentifier ) : string
$user string The user which the image belongs to
$imageIdentifier string The current image identifier
return string Returns a cache key
    private function getCacheKey($user, $imageIdentifier)
    {
        return 'metadata:' . $user . '|' . $imageIdentifier;
    }