本文整理匯總了PHP中Symfony\Component\DependencyInjection\Dumper\Dumper類的典型用法代碼示例。如果您正苦於以下問題:PHP Dumper類的具體用法?PHP Dumper怎麽用?PHP Dumper使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了Dumper類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
/**
* Constructor.
*
* @param ContainerBuilder $container The service container to dump
*
* @api
*/
public function __construct(ContainerBuilder $container)
{
parent::__construct($container);
$this->dumper = new YmlDumper();
}
示例2: 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');
}
示例3: __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();
}
示例4: __construct
public function __construct(ContainerBuilder $container)
{
parent::__construct($container);
$this->inlinedDefinitions = new \SplObjectStorage();
}