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