You are here

protected function EnvParametersResourceTest::tearDown in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Config/EnvParametersResourceTest.php \Symfony\Component\HttpKernel\Tests\Config\EnvParametersResourceTest::tearDown()

File

vendor/symfony/http-kernel/Tests/Config/EnvParametersResourceTest.php, line 36

Class

EnvParametersResourceTest

Namespace

Symfony\Component\HttpKernel\Tests\Config

Code

protected function tearDown() {
  foreach ($_SERVER as $key => $value) {
    if (0 === strpos($key, $this->prefix)) {
      unset($_SERVER[$key]);
    }
  }
}