public function getCookies()
    {
        $out = [];
        foreach ($this->_cookies as $cookie) {
            $out[$cookie->getName()] = $this->convertCookieToArray($cookie);
        }

        return $out;
    }
public function getCookies()
    {
        $out = [];
        foreach ($this->_cookies as $cookie) {
            $out[$cookie->getName()] = $this->convertCookieToArray($cookie);
        }

        return $out;
    }
public function getCookies ( ) { $ out = [ ] ; foreach ( $ this -> _cookies as $ cookie ) { $ out [ $ cookie -> getName ( ) ] = $ this -> convertCookieToArray ( $ cookie ) ; } return $ out ; }
Get all cookies in the response.

Returns an associative array of cookie name => cookie data.

@return array
Get all cookies in the response .