src/Http/Cookie/Cookies.php
public static function toArray($cookies, $options = [])
    {
        $data = [];
        foreach ($cookies as $name => $cookie) {
            $data[$name][] = $cookie->data();
        }
        return $data;
    }
public static function toArray($cookies, $options = [])
    {
        $data = [];
        foreach ($cookies as $name => $cookie) {
            $data[$name][] = $cookie->data();
        }
        return $data;
    }
public static function toArray ( $ cookies , $ options = [ ] ) { $ data = [ ] ; foreach ( $ cookies as $ name => $ cookie ) { $ data [ $ name ] [ ] = $ cookie -> data ( ) ; } return $ data ; }
Exports set-cookies.

@param  Traversable $setCookies The set-cookies.
@param  array       $options    Options.
@return array                   The export array.
Exports set - cookies .