<?php

declare(strict_types=1);

namespace PpPhp\Core\Platform\Foundation;

final class PlatformVersion
{
    public function __construct(
        private readonly string $version = '1.0.0',
        private readonly string $status = 'stable'
    ) {
    }

    public function version(): string
    {
        return $this->version;
    }

    public function status(): string
    {
        return $this->status;
    }

    public function toArray(): array
    {
        return [
            'version' => $this->version,
            'status' => $this->status,
        ];
    }
}
