maintanance and downloading files.

This commit is contained in:
Krzysztof Płaczek
2022-11-16 07:18:21 +01:00
parent 086e4b56b5
commit 21f61b0911
10 changed files with 88 additions and 36 deletions

View File

@@ -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();
}
}