Container class for cookies used in Http\Client.
Provides cookie jar like features for storing cookies between requests, as well as appending cookies to new requests.
$_cookies
protected array
get( string $url )
Get stored cookies for a URL.
Finds matching stored cookies and returns a simple array of name => value
$url
store( Cake\Http\Client\Response $response , string $url )
Store the cookies from a response.
Store the cookies that haven't expired. If a cookie has been expired and is currently stored, it will be removed.
Cake\Http\Client\Response
$response
$url
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/class-Cake.Http.Client.CookieCollection.html