public function findAllPublishedPaginated($perPage = 50);
/** * Get video by paginator. * * /videos get * * @return \Illuminate\View\View */ public function index() { $videos = $this->videos->findAllPublishedPaginated(20); return view('videos.index', compact('videos')); }