<?php
declare(strict_types=1);
namespace Divante\Core;
use Divante\Core\CompilerPass\EntityDefinitionOverrideCompilerPass;
use Shopware\Core\Framework\Plugin;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class DivanteCore extends Plugin
{
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(
new EntityDefinitionOverrideCompilerPass(),
PassConfig::TYPE_REMOVE
);
parent::build($container);
}
}