Method | Description | |
---|---|---|
fill ( |
Fill the results hists into Model. | |
fillModel ( |
New From Hit Builder. | |
loadPivotAttribute ( |
Get the pivot attribute from a model. | |
newFromBuilderRecursive ( |
Fill a model with form an elastic hit. |
Method | Description | |
---|---|---|
hydrateRecursive ( |
Create a collection of models from plain arrays recursive. | |
loadRelationsAttributesRecursive ( |
Get the relations attributes from a model. |
Method | Description | |
---|---|---|
isMultiLevelArray ( array $array ) : boolean | Check if an array is multi-level array like [[id], [id], [id]]. |
protected hydrateRecursive ( |
||
$model | ||
$items | array | |
$parentRelation | Illuminate\Database\Eloquent\Relations\Relation | |
return |
public loadPivotAttribute ( |
||
$model | ||
$parentRelation | Illuminate\Database\Eloquent\Relations\Relation |
protected loadRelationsAttributesRecursive ( |
||
$model |
public newFromBuilderRecursive ( |
||
$model | ||
$attributes | array | |
$parentRelation | Illuminate\Database\Eloquent\Relations\Relation | |
return | mixed |