Interface HeaderContract
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\HeaderContract implements oroboros\core\interfaces\contract\utilities\UtilityContract
Direct known implementers
oroboros\core\abstracts\utilities\http\AbstractHeader
,
oroboros\core\abstracts\utilities\http\AbstractRequestHeader
,
oroboros\core\abstracts\utilities\http\AbstractResponseHeader
Indirect known implementers
oroboros\core\utilities\http\Header
,
oroboros\core\utilities\http\RequestHeader
,
oroboros\core\utilities\http\ResponseHeader
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/HeaderContract.php
Methods summary
public
|
#
__construct( string $name, string|array $value, string $type = 'response', string $separator = ',' )
|
public
string
|
#
__toString( )
Hooks into native PHP string language constructs, and returns the string representation of the header value. |
public
string
|
|
public
array
|
|
public
string
|
|
public
|
|
public
|
#
appendValue( string $value )
Adds an additional value to append to the header value. This method will not replace existing values. |
public
|