本文整理汇总了PHP中Symfony\Component\DependencyInjection\Dumper\Dumper::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Dumper::__construct方法的具体用法?PHP Dumper::__construct怎么用?PHP Dumper::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Symfony\Component\DependencyInjection\Dumper\Dumper
的用法示例。
在下文中一共展示了Dumper::__construct方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: IndexBag
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');
}
示例2: __construct
/**
* {@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();
}
示例3: __construct
public function __construct(ContainerBuilder $container)
{
parent::__construct($container);
$this->inlinedDefinitions = new \SplObjectStorage();
}
示例4: __construct
/**
* Constructor.
*
* @param ContainerBuilder $container The service container to dump
*
* @api
*/
public function __construct(ContainerBuilder $container)
{
parent::__construct($container);
$this->dumper = new YmlDumper();
}