GetAttemptsForDoorUseCase.php 629 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php


namespace Source\UseCases\Attempts\GetAttemptsForDoor;

interface GetAttemptsForDoorUseCase
{
    /**
     * Begin and end must be parsable by datetime
     *
     * @param string                                                 $doorId
     * @param string                                                 $begin
     * @param string                                                 $end
     * @param \Source\UseCases\Attempts\GetAttemptsForDoor\Presenter $presenter
     * @throws \Exception
     */
    public function getAttemptsForDoorBetween(string $doorId, string $begin, string $end, Presenter $presenter): void;
}