src/Viserio/Component/Cookie/RequestCookies.php
protected static function listFromCookieString(string $string): array
    {
        $cookies = self::splitOnAttributeDelimiter($string);

        return \array_map(static function ($cookiePair) {
            return self::oneFromCookiePair($cookiePair);
        }, $cookies);
    }
protected static function listFromCookieString(string $string): array
    {
        $cookies = self::splitOnAttributeDelimiter($string);

        return \array_map(static function ($cookiePair) {
            return self::oneFromCookiePair($cookiePair);
        }, $cookies);
    }
Create a list of Cookies from a Cookie header value string.

@param string $string

@return array