This commit is contained in:
2023-04-16 03:27:43 +08:00
parent 4b6c8dd699
commit d32768064a
4 changed files with 48 additions and 6 deletions
+19
View File
@@ -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.
*