public function findAllWithRelationHavePublishedVideoLimit($limit = 4) { return $this->model->with(['videos' => function ($query) { $query->where('published_at', '<=', Carbon::now()); }])->with('categories')->orderBy('created_at', 'DESC')->limit(4)->get(); }