private function generateMessage($value)
    {
        if (is_object($value)) {
            return sprintf('An instance of "%s" is not suitable as cache key data', get_class($value));
        }

        return sprintf('A variable of type "%s" is not suitable as cache key data', gettype($value));
    }