getDomain() public method

Returns the domain this cookie is valid for.
public getDomain ( ) : string
return string The domain name
 /**
  * @test
  */
 public function getDomainReturnsDomain()
 {
     $cookie = new Cookie('foo', 'bar', 0, null, 'flow.neos.io');
     $this->assertSame('flow.neos.io', $cookie->getDomain());
 }