[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Exception/Http/ -> Status405.php (source)

   1  <?php
   2  /**
   3   * Exception for 405 Method Not Allowed responses
   4   *
   5   * @package Requests\Exceptions
   6   */
   7  
   8  namespace WpOrg\Requests\Exception\Http;
   9  
  10  use WpOrg\Requests\Exception\Http;
  11  
  12  /**
  13   * Exception for 405 Method Not Allowed responses
  14   *
  15   * @package Requests\Exceptions
  16   */
  17  final class Status405 extends Http {
  18      /**
  19       * HTTP status code
  20       *
  21       * @var integer
  22       */
  23      protected $code = 405;
  24  
  25      /**
  26       * Reason phrase
  27       *
  28       * @var string
  29       */
  30      protected $reason = 'Method Not Allowed';
  31  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref