vendor/sylius/admin-order-creation-plugin/src/SyliusAdminOrderCreationPlugin.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Sylius\AdminOrderCreationPlugin;
  4. use Sylius\AdminOrderCreationPlugin\DependencyInjection\Compiler\RegisterReorderProcessorsPass;
  5. use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
  6. use Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. final class SyliusAdminOrderCreationPlugin extends Bundle
  9. {
  10.     use SyliusPluginTrait;
  11.     public function build(ContainerBuilder $container): void
  12.     {
  13.         $container->addCompilerPass(new RegisterReorderProcessorsPass());
  14.     }
  15. }