32 lines
478 B
PHP
32 lines
478 B
PHP
<?php
|
|
/**
|
|
* Exception for 405 Method Not Allowed responses
|
|
*
|
|
* @package Requests\Exceptions
|
|
*/
|
|
|
|
namespace WpOrg\Requests\Exception\Http;
|
|
|
|
use WpOrg\Requests\Exception\Http;
|
|
|
|
/**
|
|
* Exception for 405 Method Not Allowed responses
|
|
*
|
|
* @package Requests\Exceptions
|
|
*/
|
|
final class Status405 extends Http {
|
|
/**
|
|
* HTTP status code
|
|
*
|
|
* @var integer
|
|
*/
|
|
protected $code = 405;
|
|
|
|
/**
|
|
* Reason phrase
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $reason = 'Method Not Allowed';
|
|
}
|