function SetCookie::setValue
Set the cookie value.
Parameters
string $value Cookie value:
1 call to SetCookie::setValue()
- SetCookie::__construct in vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SetCookie.php
File
-
vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SetCookie.php, line 195
Class
- SetCookie
- Set-Cookie object
Namespace
GuzzleHttp\CookieCode
public function setValue($value) : void {
if (!is_string($value)) {
trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a string to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__);
}
$this->data['Value'] = (string) $value;
}