public function RouteTest::testHost in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/RouteTest.php \Symfony\Component\Routing\Tests\RouteTest::testHost()
File
- vendor/
symfony/ routing/ Tests/ RouteTest.php, line 145
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testHost() {
$route = new Route('/');
$route
->setHost('{locale}.example.net');
$this
->assertEquals('{locale}.example.net', $route
->getHost(), '->setHost() sets the host pattern');
}