变更
This commit is contained in:
@@ -45,6 +45,25 @@ class Response implements ResponseInterface
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param array $cookies
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function withCookieParams(array $cookies): ResponseInterface
|
||||
{
|
||||
return $this->__call__(__FUNCTION__, $cookies);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCookieParams(): array
|
||||
{
|
||||
return $this->__call__(__FUNCTION__);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the HTTP protocol version as a string.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user