<?php
/**
 * Copyright 2023 Adobe
 * All Rights Reserved.
 */
declare(strict_types=1);

namespace Magento\Framework\TestFramework\ApplicationStateComparator;

use Magento\Framework\ObjectManager\ResetAfterRequestInterface;
use Magento\Framework\ObjectManager\Resetter\ResetterInterface;
use Magento\Framework\ObjectManagerInterface as FrameworkObjectManagerInterface;

/**
 * Interface for ObjectManager that has additional methods used by Collector for comparing state
 */
interface ObjectManagerInterface extends FrameworkObjectManagerInterface, ResetAfterRequestInterface
{
    /**
     * Returns Resetter
     *
     * @return ResetterInterface
     */
    public function getResetter() : ResetterInterface;

    /**
     * Returns shared instances
     *
     * @return object[]
     */
    public function getSharedInstances() : array;
}
