src/Viserio/Component/Cookie/AbstractCookie.php
protected function appendFormattedDomainPartIfSet(array $cookieStringParts): array
    {
        if ($this->domain !== null) {
            $cookieStringParts[] = \sprintf('Domain=%s', $this->domain);
        }

        return $cookieStringParts;
    }
protected function appendFormattedDomainPartIfSet(array $cookieStringParts): array
    {
        if ($this->domain !== null) {
            $cookieStringParts[] = \sprintf('Domain=%s', $this->domain);
        }

        return $cookieStringParts;
    }
@param array $cookieStringParts

@return array