<?php
/*
* This file is part of the Monofony package.
*
* (c) Monofony
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Monofony\Bundle\CoreBundle;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\ChangeCustomerContextVisibilityPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterDashboardStatisticsPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterOAuthClientManager;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterObjectManagerAliasPass;
use Monofony\Bundle\CoreBundle\DependencyInjection\Compiler\RegisterPasswordListenerForResourcesPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class MonofonyCoreBundle extends Bundle
{
public const VERSION = '0.5.2';
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new RegisterPasswordListenerForResourcesPass());
$container->addCompilerPass(new ChangeCustomerContextVisibilityPass());
$container->addCompilerPass(new RegisterDashboardStatisticsPass());
$container->addCompilerPass(new RegisterOAuthClientManager());
$container->addCompilerPass(new RegisterObjectManagerAliasPass());
}
}