public function RouteCompilerTest::testRouteWithSameVariableTwice in Zircon Profile 8
Same name and namespace in other branches
- 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
Namespace
Symfony\Component\Routing\TestsCode
public function testRouteWithSameVariableTwice() {
$route = new Route('/{name}/{name}');
$compiled = $route
->compile();
}