2026-05-02 01:05:19 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace PhpQml\Bridge;
|
|
|
|
|
|
|
|
|
|
use Symfony\Component\Config\Definition\Configurator\DefinitionConfigurator;
|
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
|
|
|
|
|
|
|
|
|
|
final class BridgeBundle extends AbstractBundle
|
|
|
|
|
{
|
2026-05-02 02:15:06 +02:00
|
|
|
/**
|
|
|
|
|
* @param array<string, mixed> $config
|
|
|
|
|
*/
|
2026-05-02 01:05:19 +02:00
|
|
|
public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void
|
|
|
|
|
{
|
2026-05-02 02:15:06 +02:00
|
|
|
$container->import(__DIR__.'/../config/services.yaml');
|
2026-05-02 01:05:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function configure(DefinitionConfigurator $definition): void
|
|
|
|
|
{
|
|
|
|
|
// Bundle config tree gains nodes when bridge:doctor and the
|
|
|
|
|
// skeleton's wiring need settable knobs (Phase 1 sub-commits 3 & 6).
|
|
|
|
|
}
|
|
|
|
|
}
|