trait WrappableData

Properties

protected Wrap|null $wrap

Methods

withoutWrapping()

Disable wrapping for the data object.

wrap(string $key)

Wrap the data object with the given key.

getWrap()

Get the current wrapping definition.

Details

at line 17
WrappableData withoutWrapping()

Disable wrapping for the data object.

Return Value

WrappableData

at line 27
WrappableData wrap(string $key)

Wrap the data object with the given key.

Parameters

string $key

Return Value

WrappableData

at line 37
Wrap getWrap()

Get the current wrapping definition.

Return Value

Wrap