/** * List the path of all the videos for the course. * * @param Course $course * @return mixed */ public function listVideos(Course $course) { return $course->videos()->lists('path'); }