mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
19 lines
439 B
PHP
19 lines
439 B
PHP
<?php
|
|
|
|
namespace Routing;
|
|
|
|
class HttpMethodNotAllowedException extends HttpException
|
|
{
|
|
protected $allowedMethods;
|
|
|
|
public function __construct(array $allowedMethods, $message = "", $code = 0, Exception $previous = null)
|
|
{
|
|
$this->allowedMethods = $allowedMethods;
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
public function getAllowedMethods()
|
|
{
|
|
return $this->allowedMethods;
|
|
}
|
|
}
|