Eager load the relationships for the models.
public eagerLoadRelations ( array $models ) : array | ||
$models | array | |
return | array |
/** * Eager load the relationships for the models. * * @param array $models * @return array * @static */ public static function eagerLoadRelations($models) { return \Illuminate\Database\Eloquent\Builder::eagerLoadRelations($models); }