comparison vendor/symfony/routing/Exception/MethodNotAllowedException.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 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
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 /**
24 * @var array
25 */
26 protected $allowedMethods = array(); 23 protected $allowedMethods = array();
27 24
28 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)
29 { 26 {
30 $this->allowedMethods = array_map('strtoupper', $allowedMethods); 27 $this->allowedMethods = array_map('strtoupper', $allowedMethods);