Interface StatusCodeContract
Contract interfaces enforce expected behavior in a non-colliding way. They are tasked with enforcing methods, and extending interfaces provided by standards and other packages for compatibility.
All valid oroboros classes MUST extend at
least one Contract Interface to be considered valid.
- oroboros\core\interfaces\contract\utilities\http\StatusCodeContract implements oroboros\core\interfaces\contract\utilities\UtilityContract
Direct known implementers
Indirect known implementers
Namespace: oroboros\core\interfaces\contract\utilities\http
Package: oroboros\core\utilities
Category: contract-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version: 0.2.4-alpha
Since: 0.2.4-alpha
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/contract_interface.md
Located at core/interfaces/contract/utilities/http/StatusCodeContract.php
Package: oroboros\core\utilities
Category: contract-interfaces
License: The MIT License (MIT)
Author: Brian Dayhoff mopsyd@me.com
Version: 0.2.4-alpha
Since: 0.2.4-alpha
Link: bitbucket.org/oroborosframework/oroboros-core/wiki/development/api/contract_interface.md
Located at core/interfaces/contract/utilities/http/StatusCodeContract.php
Methods summary
public
|
#
__construct( integer $code = 200 )
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
|
#
setMessage( mixed $message )
Sets a custom status code title. If this method is not called, the default value will be used. |