class HeaderBagGetter implements ExtendedPropagationGetterInterface

Methods

array
keys(mixed $carrier)

Return every header name in the carrier.

string|null
get(mixed $carrier, string $key)

Return the first value for a header.

array
getAll(mixed $carrier, string $key)

Return every value for a header.

HeaderBag
headerBag(mixed $carrier)

Return the supported header carrier.

Details

at line 19
array keys(mixed $carrier)

Return every header name in the carrier.

Parameters

mixed $carrier

Return Value

array

at line 28
string|null get(mixed $carrier, string $key)

Return the first value for a header.

Parameters

mixed $carrier
string $key

Return Value

string|null

at line 39
array getAll(mixed $carrier, string $key)

Return every value for a header.

Parameters

mixed $carrier
string $key

Return Value

array

at line 47
protected HeaderBag headerBag(mixed $carrier)

Return the supported header carrier.

Parameters

mixed $carrier

Return Value

HeaderBag