The trait Volosyuk\SimpleEloquent\Relations\Pivot requires some properties which are not provided by Volosyuk\SimpleEloquent\Relations\HasManyThrough: $foreignPivotKey, $columns
Loading history...
17
18
/**
19
* Match the eagerly loaded results to their parents.
20
*
21
* @param array $models
22
* @param Collection $results
23
* @param string $relation
24
* @return array|stdClass[]
25
*/
26
1
protected function matchSimple(array &$models, Collection $results, $relation)