HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/ai.naniguide.com/app/Dto/WarmupStrategyPreviewData.php
<?php

namespace App\Dto;

class WarmupStrategyPreviewData
{
    public function __construct(
        public string $growthStrategy,
        public string $limitType,
        public int $startVolume,
        public int $dailyIncrement,
        public float $exponentialFactor,
        public int $activeLimitValue,
        public int $projectedPeakVolume,
        public int $projectedTotalVolume,
        public int $estimatedFullWarmupDay,
        public string $riskLevel,
        public array $milestones,
        public array $chartPoints,
        public array $planDetails,
    ) {
    }

    public function toArray(): array
    {
        return [
            'growthStrategy' => $this->growthStrategy,
            'limitType' => $this->limitType,
            'startVolume' => $this->startVolume,
            'dailyIncrement' => $this->dailyIncrement,
            'exponentialFactor' => $this->exponentialFactor,
            'activeLimitValue' => $this->activeLimitValue,
            'projectedPeakVolume' => $this->projectedPeakVolume,
            'projectedTotalVolume' => $this->projectedTotalVolume,
            'estimatedFullWarmupDay' => $this->estimatedFullWarmupDay,
            'riskLevel' => $this->riskLevel,
            'milestones' => $this->milestones,
            'chartPoints' => $this->chartPoints,
            'planDetails' => $this->planDetails,
        ];
    }
}