mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
22 lines
655 B
PHP
22 lines
655 B
PHP
<?php
|
|
|
|
namespace Chill\PersonBundle;
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Chill\PersonBundle\Widget\PersonListWidgetFactory;
|
|
use Chill\PersonBundle\DependencyInjection\CompilerPass\AccompanyingPeriodTimelineCompilerPass;
|
|
|
|
class ChillPersonBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->getExtension('chill_main')
|
|
->addWidgetFactory(new PersonListWidgetFactory());
|
|
|
|
$container->addCompilerPass(new AccompanyingPeriodTimelineCompilerPass());
|
|
}
|
|
}
|