use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\DependencyInjection\ContainerInterface;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
class InteropServiceProviderBridgeBundle extends Bundle implements RegistryProviderInterface
10
{
11
/**
12
* @var array
13
*/
14
private $serviceProviders;
15
16
/**
17
* @var int
18
*/
19
private $id;
20
21
/**
22
* @param array $serviceProviders An array of service providers, in the format specified in bnf/service-provider-registry: https://github.com/bnf/service-provider-registry#how-does-it-work
23
*/
24
public function __construct(array $serviceProviders = [], int $id = 0)
25
{
26
$this->serviceProviders = $serviceProviders;
27
$this->id = $id;
28
}
29
30
public function build(ContainerBuilder $container)