HeaderInterface
extends
Countable, IteratorAggregate
in
Tags
Table of Contents
Methods
- getValue() : mixed
- isEmpty() : bool
- Checks if any value present.
- withValue() : static
Methods
getValue()
public
getValue(TKey $name[, Type|TypeEnum|mixed $type = null ]) : mixed
Parameters
- $name : TKey
- $type : Type|TypeEnum|mixed = null
Return values
mixed —Returns null if value not found.
isEmpty()
Checks if any value present.
public
isEmpty() : bool
Return values
boolwithValue()
public
withValue(TKey $name, TValue $value) : static
Parameters
- $name : TKey
- $value : TValue