You are here

private function ContainerAwareHttpKernelTest::expectsLeaveScopeOnce in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/DependencyInjection/ContainerAwareHttpKernelTest.php \Symfony\Component\HttpKernel\Tests\DependencyInjection\ContainerAwareHttpKernelTest::expectsLeaveScopeOnce()

File

vendor/symfony/http-kernel/Tests/DependencyInjection/ContainerAwareHttpKernelTest.php, line 158

Class

ContainerAwareHttpKernelTest
@group legacy

Namespace

Symfony\Component\HttpKernel\Tests\DependencyInjection

Code

private function expectsLeaveScopeOnce($container) {
  $container
    ->expects($this
    ->once())
    ->method('leaveScope')
    ->with($this
    ->equalTo('request'));
  return $this;
}