getDomain() публичный метод

Gets the domain of the cookie.
public getDomain ( ) : string
Результат string The cookie domain
Пример #1
0
 public function testGetDomain()
 {
     $cookie = new Cookie('foo', 'bar', 0, '/', 'foo.com');
     $this->assertEquals('foo.com', $cookie->getDomain(), '->getDomain() returns the cookie domain');
 }