src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php
public function serialize()
    {
        // Only serialize long term cookies and unexpired cookies
        return json_encode(array_map(function (Cookie $cookie) {
            return $cookie->toArray();
        }, $this->all(null, null, null, true, true)));
    }
public function serialize()
    {
        // Only serialize long term cookies and unexpired cookies
        return json_encode(array_map(function (Cookie $cookie) {
            return $cookie->toArray();
        }, $this->all(null, null, null, true, true)));
    }
public function serialize ( ) { // Only serialize long term cookies and unexpired cookies return json_encode ( array_map ( function ( Cookie $ cookie ) { return $ cookie -> toArray ( ) ; } , $ this -> all ( null , null , null , true , true ) ) ) ; }
Serializes the cookie cookieJar

@return string
Serializes the cookie cookieJar