/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations
NameSizeModeActions
Concerns/-0755rm
BelongsTo.php109430755editdlrm
BelongsToMany.php385160755editdlrm
HasMany.php11730755editdlrm
HasManyThrough.php202460644editdlrm
HasOne.php41450755editdlrm
HasOneOrMany.php119100755editdlrm
HasOneThrough.php22540644editdlrm
MorphMany.php11770755editdlrm
MorphOne.php42710755editdlrm
MorphOneOrMany.php31350755editdlrm
MorphPivot.php45730644editdlrm
MorphTo.php110510644editdlrm
MorphToMany.php57950644editdlrm
Pivot.php4550755editdlrm
Relation.php124840755editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasMany.php (1173B)
getParentKey()) ? $this->query->get() : $this->related->newCollection(); } /** * Initialize the relation on a set of models. * * @param array $models * @param string $relation * @return array */ public function initRelation(array $models, $relation) { foreach ($models as $model) { $model->setRelation($relation, $this->related->newCollection()); } return $models; } /** * Match the eagerly loaded results to their parents. * * @param array $models * @param \Illuminate\Database\Eloquent\Collection $results * @param string $relation * @return array */ public function match(array $models, Collection $results, $relation) { return $this->matchMany($models, $results, $relation); } }