Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/routing/Exception/MethodNotAllowedException.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
18 * | 18 * |
19 * @author Kris Wallsmith <kris@symfony.com> | 19 * @author Kris Wallsmith <kris@symfony.com> |
20 */ | 20 */ |
21 class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface | 21 class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface |
22 { | 22 { |
23 protected $allowedMethods = array(); | 23 protected $allowedMethods = []; |
24 | 24 |
25 public function __construct(array $allowedMethods, $message = null, $code = 0, \Exception $previous = null) | 25 public function __construct(array $allowedMethods, $message = null, $code = 0, \Exception $previous = null) |
26 { | 26 { |
27 $this->allowedMethods = array_map('strtoupper', $allowedMethods); | 27 $this->allowedMethods = array_map('strtoupper', $allowedMethods); |
28 | 28 |