Methods

Converts the given value so that it can be extracted by the hydrator.

extract(mixed $value) : mixed

Parameters

$value

mixed

The original value.

Returns

mixedReturns the value that should be extracted.

Converts the given value so that it can be hydrated by the hydrator.

hydrate(mixed $value) : mixed

Parameters

$value

mixed

The original value.

Returns

mixedReturns the value that should be hydrated.