GetAttemptCountForDoorUseCase.php 641 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\GetAttemptCountForDoor;

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