HasCookies
trait HasCookies
Properties
| protected list<array<string, mixed>> | $cookies | The request cookies and their attributes. |
Methods
withCookie(SetCookie $cookie)
Specify a cookie and its attributes for the request.
withCookies(array $cookies, string $domain)
Specify cookies that should be included with the request.
array
cookies()
Get the request cookies and their attributes.
Details
at line 25
HasCookies
withCookie(SetCookie $cookie)
Specify a cookie and its attributes for the request.
at line 46
HasCookies
withCookies(array $cookies, string $domain)
Specify cookies that should be included with the request.
at line 60
array
cookies()
Get the request cookies and their attributes.