diff options
Diffstat (limited to 'server/vendor/slim/slim/Slim/Exception/InvalidMethodException.php')
-rw-r--r-- | server/vendor/slim/slim/Slim/Exception/InvalidMethodException.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/server/vendor/slim/slim/Slim/Exception/InvalidMethodException.php b/server/vendor/slim/slim/Slim/Exception/InvalidMethodException.php deleted file mode 100644 index 238bf7a..0000000 --- a/server/vendor/slim/slim/Slim/Exception/InvalidMethodException.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace Slim\Exception; - -use Psr\Http\Message\ServerRequestInterface; - -class InvalidMethodException extends \InvalidArgumentException -{ - protected $request; - - public function __construct(ServerRequestInterface $request, $method) - { - $this->request = $request; - parent::__construct(sprintf('Unsupported HTTP method "%s" provided', $method)); - } - - public function getRequest() - { - return $this->request; - } -} |