Skip to content

Commit

Permalink
[Performance] Add back cached channel context
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Sep 22, 2019
1 parent 7f048f0 commit 6563c58
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
19 changes: 0 additions & 19 deletions src/DependencyInjection/Compiler/ChannelContextPass.php

This file was deleted.

9 changes: 0 additions & 9 deletions src/SyliusShopApiPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,9 @@
namespace Sylius\ShopApiPlugin;

use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
use Sylius\ShopApiPlugin\DependencyInjection\Compiler\ChannelContextPass;
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 ChannelContextPass());
}
}

0 comments on commit 6563c58

Please sign in to comment.