1 | <?php |
||
10 | class ExistsAndDeleteUser |
||
11 | { |
||
12 | private $exists; |
||
13 | private $delete; |
||
14 | |||
15 | /** |
||
16 | * ExistsAndDeleteUser constructor. |
||
17 | */ |
||
18 | 3 | public function __construct() |
|
23 | |||
24 | /** |
||
25 | * @param User $user |
||
26 | * @return bool |
||
27 | * @throws UserDoesNotExistsException |
||
28 | */ |
||
29 | 3 | public function make(User $user): bool |
|
39 | } |
||
40 |