<?php
declare(strict_types=0);
/*
* WellCommerce Foundation
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>, Adrian Potepa <adrian@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bundle\AppBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use WellCommerce\Bundle\AppBundle\DependencyInjection\Compiler;
/**
* Class WellCommerceAppBundle
*
* @author Adam Piotrowski <adam@wellcommerce.org>
*/
class WellCommerceAppBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new Compiler\ThemeCompilerPass());
$container->addCompilerPass(new Compiler\LayoutBoxConfiguratorPass());
$container->addCompilerPass(new Compiler\RegisterSystemConfiguratorPass());
$container->addCompilerPass(new Compiler\RegisterOAuthProviderPass());
$container->addCompilerPass(new Compiler\RegisterConsoleCommandProviderPass());
$container->addCompilerPass(new Compiler\RegisterBreadcrumbProviderPass());
}
}