protected function TraceableEventDispatcherTest::getHttpKernel in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/Debug/TraceableEventDispatcherTest.php \Symfony\Component\HttpKernel\Tests\Debug\TraceableEventDispatcherTest::getHttpKernel()
3 calls to TraceableEventDispatcherTest::getHttpKernel()
- TraceableEventDispatcherTest::testStopwatchCheckControllerOnRequestEvent in vendor/
symfony/ http-kernel/ Tests/ Debug/ TraceableEventDispatcherTest.php - TraceableEventDispatcherTest::testStopwatchSections in vendor/
symfony/ http-kernel/ Tests/ Debug/ TraceableEventDispatcherTest.php - TraceableEventDispatcherTest::testStopwatchStopControllerOnRequestEvent in vendor/
symfony/ http-kernel/ Tests/ Debug/ TraceableEventDispatcherTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ Debug/ TraceableEventDispatcherTest.php, line 109
Class
Namespace
Symfony\Component\HttpKernel\Tests\DebugCode
protected function getHttpKernel($dispatcher, $controller) {
$resolver = $this
->getMock('Symfony\\Component\\HttpKernel\\Controller\\ControllerResolverInterface');
$resolver
->expects($this
->once())
->method('getController')
->will($this
->returnValue($controller));
$resolver
->expects($this
->once())
->method('getArguments')
->will($this
->returnValue(array()));
return new HttpKernel($dispatcher, $resolver);
}