Requests_Cookie_Jar::offsetGet()
最后更新于:2021-11-26 02:07:19
Requests_Cookie_Jar::offsetGet( string$key)Get the value for the item
参数
- $key
-
(string) (Required) Item key
响应
(string|null) Item value (null if offsetExists is false)
源文件
文件: gc-includes/Requests/Cookie/Jar.php
public function offsetGet($key) {
if (!isset($this->cookies[$key])) {
return null;
}
return $this->cookies[$key];
}