maintanance and downloading files.
This commit is contained in:
@@ -12,12 +12,13 @@ class Index extends Controller
|
||||
public function index()
|
||||
{
|
||||
$courses = Course::with('chapters')->withCount('chapters')->get();
|
||||
|
||||
// dd($courses->toArray());
|
||||
return view('index', compact(['courses']));
|
||||
}
|
||||
|
||||
public function download(HtmlParser $htmlParser)
|
||||
public function download(SymfonyCastDlService $symfonyCastDlService)
|
||||
{
|
||||
$service = new SymfonyCastDlService($htmlParser);
|
||||
$service->getInfo();
|
||||
$symfonyCastDlService->getInfo();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user