Lines Matching refs:data
23 private $data; variable in GuzzleHttp\\Cookie\\SetCookie
35 $data = self::$defaults;
40 return new self($data);
52 if (empty($data['Name'])) {
53 $data['Name'] = $key;
54 $data['Value'] = $value;
58 $data[$search] = $value;
62 $data[$key] = $value;
66 return new self($data);
70 * @param array $data Array of cookie data provided by a Cookie parser
72 public function __construct(array $data = []) argument
74 $this->data = array_replace(self::$defaults, $data);
86 $str = $this->data['Name'] . '=' . $this->data['Value'] . '; ';
87 foreach ($this->data as $k => $v) {
102 return $this->data;
112 return $this->data['Name'];
122 $this->data['Name'] = $name;
132 return $this->data['Value'];
142 $this->data['Value'] = $value;
152 return $this->data['Domain'];
162 $this->data['Domain'] = $domain;
172 return $this->data['Path'];
182 $this->data['Path'] = $path;
192 return $this->data['Max-Age'];
202 $this->data['Max-Age'] = $maxAge;
212 return $this->data['Expires'];
222 $this->data['Expires'] = is_numeric($timestamp)
234 return $this->data['Secure'];
244 $this->data['Secure'] = $secure;
254 return $this->data['Discard'];
264 $this->data['Discard'] = $discard;
274 return $this->data['HttpOnly'];
284 $this->data['HttpOnly'] = $httpOnly;