GetAttemptsUseCase.php 590 Bytes
Newer Older
1
2
3
4
5
<?php


namespace Source\UseCases\Attempts\GetAttempts;

Jacob Priddy's avatar
Jacob Priddy committed
6
7
use Source\UseCases\Attempts\Presenter;

8
9
10
11
12
interface GetAttemptsUseCase
{
    /**
     * the passed start and end dates must be parsable by datetime
     *
Jacob Priddy's avatar
Jacob Priddy committed
13
14
15
16
     * @param string                              $start
     * @param string                              $end
     * @param string|null                         $doorId
     * @param \Source\UseCases\Attempts\Presenter $presenter
17
18
     * @throws \Exception
     */
Jacob Priddy's avatar
Jacob Priddy committed
19
    public function getBetweenDates(?string $start, ?string $end, ?string $doorId, Presenter $presenter): void;
20
}