<?php
declare(strict_types=1);

namespace PpPhp\Core\Platform\Compatibility\Adapters;

use PpPhp\Core\Platform\Compatibility\CompatibilityAdapter;

final class LegacyIconAdapter extends CompatibilityAdapter
{
    public function __construct()
    {
        parent::__construct('legacy-icon-adapter', 'core/IconManager', 'plugins/IconManager + resources/Icons', 'migration-review');
    }

    public function migrationStatus(): array
    {
        return [
            'coreIconManager' => 'deprecated-review',
            'pluginIconManager' => 'canonical-plugin-owner',
            'resourcesIcons' => 'canonical-asset-owner',
            'nextStep' => 'Expose icon search/load/metadata as a runtime service.',
        ];
    }
}
