You are here

private function ExtensionCompilerPassTest::createExtensionMock in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Tests/Compiler/ExtensionCompilerPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ExtensionCompilerPassTest::createExtensionMock()
1 call to ExtensionCompilerPassTest::createExtensionMock()
ExtensionCompilerPassTest::testProcess in vendor/symfony/dependency-injection/Tests/Compiler/ExtensionCompilerPassTest.php

File

vendor/symfony/dependency-injection/Tests/Compiler/ExtensionCompilerPassTest.php, line 38

Class

ExtensionCompilerPassTest
@author Wouter J <wouter@wouterj.nl>

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

private function createExtensionMock($hasInlineCompile) {
  return $this
    ->getMock('Symfony\\Component\\DependencyInjection\\' . ($hasInlineCompile ? 'Compiler\\CompilerPassInterface' : 'Extension\\ExtensionInterface'));
}