public function CookieTest::testGetDomain in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testGetDomain()
- 8.0 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testGetDomain()
Same name and namespace in other branches
- 8 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testGetDomain()
File
- vendor/
symfony/ browser-kit/ Tests/ CookieTest.php, line 135
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testGetDomain() {
$cookie = new Cookie('foo', 'bar', 0, '/', 'foo.com');
$this
->assertEquals('foo.com', $cookie
->getDomain(), '->getDomain() returns the cookie domain');
}