vendor/sylius/shop-api-plugin/src/SyliusShopApiPlugin.php line 19
<?php
/*
* This file is part of the Sylius package.
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\ShopApiPlugin;
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
use Sylius\ShopApiPlugin\CompilerPass\RemoveUserCartRecalculationListenerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class SyliusShopApiPlugin extends Bundle
{
use SyliusPluginTrait;
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new RemoveUserCartRecalculationListenerPass());
}
}