src/Viserio/Component/Cookie/CookieJar.php
protected function getPathAndDomain(?string $path, ?string $domain, bool $secure = false): array
    {
        return [$path ?? $this->path, $domain ?? $this->domain, $secure ?? $this->secure];
    }
protected function getPathAndDomain(?string $path, ?string $domain, bool $secure = false): array
    {
        return [$path ?? $this->path, $domain ?? $this->domain, $secure ?? $this->secure];
    }
Get the path and domain, or the default values.

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

@return array