mirror of
https://github.com/code-rhapsodie/dataflow-bundle.git
synced 2026-04-29 00:53:11 +02:00
95124acc26
* Remove some deprecated
36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace CodeRhapsodie\DataflowBundle;
|
|
|
|
use CodeRhapsodie\DataflowBundle\DependencyInjection\CodeRhapsodieDataflowExtension;
|
|
use CodeRhapsodie\DataflowBundle\DependencyInjection\Compiler\BusCompilerPass;
|
|
use CodeRhapsodie\DataflowBundle\DependencyInjection\Compiler\DataflowTypeCompilerPass;
|
|
use CodeRhapsodie\DataflowBundle\DependencyInjection\Compiler\DefaultLoggerCompilerPass;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
class CodeRhapsodieDataflowBundle extends Bundle
|
|
{
|
|
protected string $name = 'CodeRhapsodieDataflowBundle';
|
|
|
|
public function getContainerExtension(): ?ExtensionInterface
|
|
{
|
|
return new CodeRhapsodieDataflowExtension();
|
|
}
|
|
|
|
public function build(ContainerBuilder $container): void
|
|
{
|
|
$container
|
|
->addCompilerPass(new DataflowTypeCompilerPass())
|
|
->addCompilerPass(new DefaultLoggerCompilerPass())
|
|
->addCompilerPass(new BusCompilerPass())
|
|
;
|
|
}
|
|
}
|