\mCASH\UtilitiesHeaders

Headers class.

Summary

Methods
Properties
Constants
__construct()
parse()
$Headers
$ApiKey
$ApiLevel
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$Headers

$Headers : mixed

Headers

Type

mixed

$ApiKey

$ApiKey : mixed

ApiKey

Type

mixed

$ApiLevel

$ApiLevel : mixed

ApiLevel

Type

mixed

Methods

__construct()

__construct(mixed  $key = null, mixed  $level = null, array  $headers = array()) : void

__construct function.

Parameters

mixed $key

(default: null)

mixed $level

(default: null)

array $headers

(default: array())

parse()

parse(array|null  $options) : \mCASH\Utilities\Headers

Unpacks an options array into an Headers object

Parameters

array|null $options

a key => value array

Returns

\mCASH\Utilities\Headers