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

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

        return $cookieStringParts;
    }
@param array $cookieStringParts

@return array