<?php

namespace App\Modules\Testimonials\Services;

use App\Modules\Testimonials\Repositories\TestimonialsRepository;

class TestimonialsService
{
    private TestimonialsRepository $repository;

    public function __construct()
    {
        $this->repository = new TestimonialsRepository();
    }

    public function getActiveTestimonials(): array
    {
        return $this->repository->active();
    }
}