comparison vendor/symfony/http-foundation/ResponseHeaderBag.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
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;