interface MergeableBody implements BodyRepository

Methods

set(mixed $value)

Set the raw data in the repository.

mixed
all()

Get the raw data in the repository.

bool
isEmpty()

Determine if the repository is empty.

bool
isNotEmpty()

Determine if the repository is not empty.

StreamInterface
toStream()

Convert the body repository into a stream.

merge(array ...$arrays)

Merge arrays into the repository.

Details

in BodyRepository at line 16
BodyRepository set(mixed $value)

Set the raw data in the repository.

Parameters

mixed $value

Return Value

BodyRepository

at line 14
mixed all()

Get the raw data in the repository.

Return Value

mixed

in BodyRepository at line 26
bool isEmpty()

Determine if the repository is empty.

Return Value

bool

in BodyRepository at line 31
bool isNotEmpty()

Determine if the repository is not empty.

Return Value

bool

in BodyRepository at line 36
StreamInterface toStream()

Convert the body repository into a stream.

Return Value

StreamInterface

at line 22
MergeableBody merge(array ...$arrays)

Merge arrays into the repository.

Parameters

array ...$arrays

Return Value

MergeableBody