<?php

namespace App\Framework\Mcp\ValueObjects;

/**
 * Initializer-specific information
 */
final readonly class InitializerInfo
{
    public function __construct(
        public string  $className,
        public string  $filePath,
        public ?string $returnType = null,
        public array   $dependencies = [],
        public ?string $context = null
    ) {}

    public function toArray(): array
    {
        return [
            'class_name' => $this->className,
            'file_path' => $this->filePath,
            'return_type' => $this->returnType,
            'dependencies' => $this->dependencies,
            'context' => $this->context,
        ];
    }
}
