You are here

public function RouteCompilerTest::testRouteWithSameVariableTwice in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/RouteCompilerTest.php \Symfony\Component\Routing\Tests\RouteCompilerTest::testRouteWithSameVariableTwice()

@expectedException \LogicException

File

vendor/symfony/routing/Tests/RouteCompilerTest.php, line 157

Class

RouteCompilerTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testRouteWithSameVariableTwice() {
  $route = new Route('/{name}/{name}');
  $compiled = $route
    ->compile();
}