<?php

namespace App\Framework\Cache\Strategies;

use App\Framework\Cache\CacheKey;
use App\Framework\Core\ValueObjects\Duration;

/**
 * Warming operation result
 */
final readonly class WarmingResult
{
    public function __construct(
        public CacheKey $key,
        public bool     $successful,
        public Duration $duration,
        public string   $reason
    ) {}
}
