Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-foundation/ResponseHeaderBag.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
158 /** | 158 /** |
159 * {@inheritdoc} | 159 * {@inheritdoc} |
160 */ | 160 */ |
161 public function hasCacheControlDirective($key) | 161 public function hasCacheControlDirective($key) |
162 { | 162 { |
163 return array_key_exists($key, $this->computedCacheControl); | 163 return \array_key_exists($key, $this->computedCacheControl); |
164 } | 164 } |
165 | 165 |
166 /** | 166 /** |
167 * {@inheritdoc} | 167 * {@inheritdoc} |
168 */ | 168 */ |
169 public function getCacheControlDirective($key) | 169 public function getCacheControlDirective($key) |
170 { | 170 { |
171 return array_key_exists($key, $this->computedCacheControl) ? $this->computedCacheControl[$key] : null; | 171 return \array_key_exists($key, $this->computedCacheControl) ? $this->computedCacheControl[$key] : null; |
172 } | 172 } |
173 | 173 |
174 public function setCookie(Cookie $cookie) | 174 public function setCookie(Cookie $cookie) |
175 { | 175 { |
176 $this->cookies[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie; | 176 $this->cookies[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie; |