<?php

namespace App\Modules\Booking\Application;

use App\Modules\Booking\Domain\PaymentBookingRepository;

class PaymentBookingLister {

    private PaymentBookingRepository $repository;

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

    public function __invoke (string $dateStart, string $dateEnd, string $AdminSession_Token, string $AdminSession_IP, string $path) {
        return $this->repository->list($dateStart, $dateEnd, $AdminSession_Token, $AdminSession_IP, $path);
    }
}