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

        return $this;
    }