public function setURL(URL $url)
    {
        $this->domain = $url->host;
        $this->path = $url->path;
        $this->secure = $url->secure;
        return $this;
    }
public function setURL(URL $url)
    {
        $this->domain = $url->host;
        $this->path = $url->path;
        $this->secure = $url->secure;
        return $this;
    }
public function setURL ( URL $ url ) { $ this -> domain = $ url -> host ; $ this -> path = $ url -> path ; $ this -> secure = $ url -> secure ; return $ this ; }
Set the domain and path using a URL
@param Wedeto\HTTP\URL The URI to use as the cookie domain
Set the domain and path using a URL