Path : /var/www/clients/client0/web25/web/app/Http/Controllers/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/clients/client0/web25/web/app/Http/Controllers/ImageController.php |
<?php namespace App\Http\Controllers; use App\Services\ImageService; use App\Services\RubricService; class ImageController extends Controller { protected $imageService; protected $rubricService; public function __construct(ImageService $imageService,RubricService $rubricService) { $this->imageService = $imageService; $this->rubricService = $rubricService; } public function getImages() { $rubrics = $this->rubricService->getRubrics(); $images = $this->imageService->getImages(null); return view('front.gallery',compact(['rubrics','images'])); } }