<?php

namespace App\Framework\Mcp\ValueObjects;

/**
 * Interface implementation information
 */
final readonly class InterfaceImplementationInfo
{
    public function __construct(
        public string $className,
        public string $interfaceName,
        public string $filePath,
        public array  $implementedMethods = []
    ) {}

    public function toArray(): array
    {
        return [
            'class_name' => $this->className,
            'interface_name' => $this->interfaceName,
            'file_path' => $this->filePath,
            'implemented_methods' => $this->implementedMethods,
        ];
    }
}
