<?php
declare(strict_types=1);
namespace Croisiland\Bundle\SearchBundle;
use Croisiland\Bundle\SearchBundle\DependencyInjection\Compiler\ApiEntryPointCompilerPass;
use Croisiland\Bundle\SearchBundle\DependencyInjection\Compiler\ApiOptionsProcessorCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class CroisilandSearchBundle.
*
* @author Jérôme Fath
*/
final class CroisilandSearchBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container
->addCompilerPass(new ApiEntryPointCompilerPass())
->addCompilerPass(new ApiOptionsProcessorCompilerPass())
;
}
}