<?php
declare(strict_types=1);
namespace Hitso\Bundle\SectionBundle;
use Hitso\Bundle\SectionBundle\DependencyInjection\ConfigExtensions\BlockSectionExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* @codeCoverageIgnore
*/
class HitsoSectionBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container): void
{
parent::build($container);
if ($container->hasExtension('hitso_section')) {
$extension = $container->getExtension('hitso_section');
$extension->addConfigExtension(new BlockSectionExtension());
}
}
}