protected function PhpGeneratorDumperTest::setUp

File

drupal/core/vendor/symfony/routing/Symfony/Component/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.php';
  @unlink($this->testTmpFilepath);
}