class MultipleAdvancedModelTransformer extends AdvancedModelTransformer

Methods

Model[]
reverseTransform(string $data)

Transforms data to an object

addInclude(Model $model)

Add a model to the list of models that should be included in all cases

Details

at line line 21
Model[] reverseTransform(string $data)

Transforms data to an object

Parameters

string $data

Return Value

Model[]

at line line 81
addInclude(Model $model)

Add a model to the list of models that should be included in all cases

Parameters

Model $model The model to include

Exceptions

Exception When a model is of an unsupported type