本文整理匯總了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());
}
示例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());
}
示例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));
}
示例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);
}
}
示例5: setUp
protected function setUp()
{
parent::setUp();
$this->setDefinition('ezpublish_debug.data_collector', new Definition());
}
示例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');
}
示例7: setUp
public function setUp()
{
parent::setUp();
require_once __DIR__ . '/mocks.php';
}
示例8: setUp
protected function setUp()
{
parent::setUp();
$this->container->registerExtension(new DatagridExtension());
$this->container->loadFromExtension('rollerworks_datagrid');
}