function __construct(ContainerBuilder $container) { parent::__construct($container); $this->groupBag = new IndexBag(); $this->nodesBag = new IndexBag(); $this->linksBag = new IndexBag(); $this->metaGroupIndex = $this->groupBag->addItem('meta'); }
/** * {@inheritdoc} */ public function __construct(ContainerBuilder $container) { if (!$container->isFrozen()) { @trigger_error('Dumping an uncompiled ContainerBuilder is deprecated since version 3.3 and will not be supported anymore in 4.0. Compile the container beforehand.', E_USER_DEPRECATED); } parent::__construct($container); $this->inlinedDefinitions = new \SplObjectStorage(); }
public function __construct(ContainerBuilder $container) { parent::__construct($container); $this->inlinedDefinitions = new \SplObjectStorage(); }
/** * Constructor. * * @param ContainerBuilder $container The service container to dump * * @api */ public function __construct(ContainerBuilder $container) { parent::__construct($container); $this->dumper = new YmlDumper(); }