src/Viserio/Component/Cookie/CookieJar.php
public function setDefaultPathAndDomain(string $path, string $domain, bool $secure = false): self
    {
        [$this->path, $this->domain, $this->secure] = [$path, $domain, $secure];

        return $this;
    }
public function setDefaultPathAndDomain(string $path, string $domain, bool $secure = false): self
    {
        [$this->path, $this->domain, $this->secure] = [$path, $domain, $secure];

        return $this;
    }
Set the default path and domain for the jar.

@param string $path
@param string $domain
@param bool   $secure

@return $this