comparison vendor/symfony/http-foundation/RedirectResponse.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 7a779792577d
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
46 $this->headers->remove('cache-control'); 46 $this->headers->remove('cache-control');
47 } 47 }
48 } 48 }
49 49
50 /** 50 /**
51 * {@inheritdoc} 51 * Factory method for chainability.
52 *
53 * @param string $url The url to redirect to
54 * @param int $status The response status code
55 * @param array $headers An array of response headers
56 *
57 * @return static
52 */ 58 */
53 public static function create($url = '', $status = 302, $headers = array()) 59 public static function create($url = '', $status = 302, $headers = array())
54 { 60 {
55 return new static($url, $status, $headers); 61 return new static($url, $status, $headers);
56 } 62 }