本文整理汇总了PHP中Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase类的典型用法代码示例。如果您正苦于以下问题:PHP AbstractCompilerPassTestCase类的具体用法?PHP AbstractCompilerPassTestCase怎么用?PHP AbstractCompilerPassTestCase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AbstractCompilerPassTestCase类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: setUp
protected function setUp()
{
parent::setUp();
$this->setDefinition('security.authentication.provider.dao', new Definition());
$this->setDefinition('security.authentication.provider.anonymous', new Definition());
$this->setDefinition('security.http_utils', new Definition());
$this->setDefinition('security.authentication.success_handler', new Definition());
}
开发者ID:ezsystems,项目名称:ezpublish-kernel,代码行数:8,代码来源:SecurityPassTest.php
示例2: setUp
public function setUp()
{
parent::setUp();
$this->container->setParameter('ez_io.metadata_handlers', array());
$this->container->setParameter('ez_io.binarydata_handlers', array());
$this->container->setDefinition('ezpublish.core.io.binarydata_handler.factory', new Definition());
$this->container->setDefinition('ezpublish.core.io.metadata_handler.factory', new Definition());
}
开发者ID:dfritschy,项目名称:ezpublish-kernel,代码行数:8,代码来源:IOConfigurationPassTest.php
示例3: setUp
protected function setUp()
{
parent::setUp();
$this->apiClientClass = 'CL\\Slack\\Transport\\ApiClient';
$this->mockApiClientClass = 'CL\\Slack\\Test\\Transport\\MockApiClient';
$this->setDefinition(self::API_CLIENT_ID, new Definition($this->apiClientClass));
$this->setDefinition(self::MOCK_API_CLIENT_ID, new Definition($this->mockApiClientClass));
}
开发者ID:nunojsferreira,项目名称:CLSlackBundle,代码行数:8,代码来源:RegisterApiClientPassTest.php
示例4: setUp
protected function setUp()
{
parent::setUp();
$this->container->setParameter('cmf_seo.sitemap.configurations', array());
$nonProviderService = new Definition();
$this->setDefinition('some_service', $nonProviderService);
foreach ($this->tagProvider() as $service) {
$chain = new Definition();
$this->setDefinition('cmf_seo.sitemap.' . $service[1], $chain);
}
}
开发者ID:damonsson,项目名称:SeoBundle,代码行数:11,代码来源:RegisterUrlInformationProviderPassTest.php
示例5: setUp
protected function setUp()
{
parent::setUp();
$this->setDefinition('ezpublish_debug.data_collector', new Definition());
}
开发者ID:Pixy,项目名称:ezpublish-kernel,代码行数:5,代码来源:DataCollectorPassTest.php
示例6: setUp
protected function setUp()
{
parent::setUp();
$this->setDefinition('ezpublish.api.storage_engine.factory', new Definition());
$this->container->setParameter('ezpublish.api.storage_engine.default', 'default_storage_engine');
}
开发者ID:Pixy,项目名称:ezpublish-kernel,代码行数:6,代码来源:RegisterStorageEnginePassTest.php
示例7: setUp
public function setUp()
{
parent::setUp();
require_once __DIR__ . '/mocks.php';
}
开发者ID:runopencode,项目名称:traitor-bundle,代码行数:5,代码来源:CompilerPassTest.php
示例8: setUp
protected function setUp()
{
parent::setUp();
$this->container->registerExtension(new DatagridExtension());
$this->container->loadFromExtension('rollerworks_datagrid');
}
开发者ID:sstok,项目名称:rollerworks-datagrid-bundle,代码行数:6,代码来源:RequestUriProviderPassTest.php
注:本文中的Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论