public function apply($model, Repository $repository) { $model = $model->with('user'); return $model; }