* @copyright 2013-2016 B Hanlon. All rights reserved. * @license MIT http://opensource.org/licenses/MIT * * @link https://shrikeh.github.com/teapot */ namespace Teapot\StatusCode\Vendor; /** * Interface representing extended HTTP status codes for Apache. These codes are * represented as an interface so that developers may implement it and then use * parent::[CODE] to gain a code, or to extend the codes using static::[CODE] * and override their default description. * * This allows for codes to be repurposed in a natural way where the core, * traditional use would not be meaningful. * * @category StatusCode * * @package Teapot\StatusCode\Vendor * * @author Barney Hanlon * @copyright 2013-2016 B Hanlon. All rights reserved. * @license MIT http://opensource.org/licenses/MIT * * @link https://shrikeh.github.com/teapot */ interface Apache { /** * This status code, while used by many servers, is not specified in any * RFCs. * Apache-specific. * * @var int */ const BANDWIDTH_LIMIT_EXCEEDED = 509; }