Class shardimage\shardimagephpapi\web\parsers\Header

Inheritanceshardimage\shardimagephpapi\web\parsers\Header

HTTP header parser object.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$params array Additional parameters in the header shardimage\shardimagephpapi\web\parsers\Header
$value string Value of the header shardimage\shardimagephpapi\web\parsers\Header

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates and parses the header. shardimage\shardimagephpapi\web\parsers\Header
getParam() Returns the value of an additional named parameter. shardimage\shardimagephpapi\web\parsers\Header

Property Details

$params public property

Additional parameters in the header

public array $params = []
$value public property

Value of the header

public string $value null

Method Details

__construct() public method

Creates and parses the header.

public void __construct ( $value )
$value string

Header value

getParam() public method

Returns the value of an additional named parameter.

public string|mixed getParam ( $param, $default null )
$param string
$default mixed