1 | <?php |
||
12 | class ExistsAndDeletePermission |
||
13 | { |
||
14 | private $exists; |
||
15 | private $attached; |
||
16 | private $delete; |
||
17 | |||
18 | /** |
||
19 | * ExistsAndDeletePermission constructor. |
||
20 | */ |
||
21 | 4 | public function __construct() |
|
27 | |||
28 | /** |
||
29 | * @param Permission $permission |
||
30 | * @return bool |
||
31 | * @throws PermissionDoesNotExistsException |
||
32 | * @throws PermissionIsAttachedException |
||
33 | */ |
||
34 | 4 | public function make(Permission $permission): bool |
|
50 | } |
||
51 |