<?php
namespace Magento\Framework\Setup\Declaration\Schema\Diff\DiffManager;

/**
 * Interceptor class for @see \Magento\Framework\Setup\Declaration\Schema\Diff\DiffManager
 */
class Interceptor extends \Magento\Framework\Setup\Declaration\Schema\Diff\DiffManager implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Setup\Declaration\Schema\Comparator $comparator)
    {
        $this->___init();
        parent::__construct($comparator);
    }

    /**
     * {@inheritdoc}
     */
    public function registerRemoval(\Magento\Framework\Setup\Declaration\Schema\Diff\Diff $diff, array $generatedElements)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'registerRemoval');
        return $pluginInfo ? $this->___callPlugins('registerRemoval', func_get_args(), $pluginInfo) : parent::registerRemoval($diff, $generatedElements);
    }
}
