public function RouteTest::testSetInvalidRequirement in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/RouteTest.php \Symfony\Component\Routing\Tests\RouteTest::testSetInvalidRequirement()
@dataProvider getInvalidRequirements @expectedException \InvalidArgumentException
File
- vendor/
symfony/ routing/ Tests/ RouteTest.php, line 128
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testSetInvalidRequirement($req) {
$route = new Route('/{foo}');
$route
->setRequirement('foo', $req);
}