You are here

protected function PhpGeneratorDumperTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php \Symfony\Component\Routing\Tests\Generator\Dumper\PhpGeneratorDumperTest::setUp()

File

vendor/symfony/routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php, line 36

Class

PhpGeneratorDumperTest

Namespace

Symfony\Component\Routing\Tests\Generator\Dumper

Code

protected function setUp() {
  parent::setUp();
  $this->routeCollection = new RouteCollection();
  $this->generatorDumper = new PhpGeneratorDumper($this->routeCollection);
  $this->testTmpFilepath = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'php_generator.' . $this
    ->getName() . '.php';
  @unlink($this->testTmpFilepath);
}