1 | <?php |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
2 | /** |
||
3 | * Copyright MediaCT. All rights reserved. |
||
4 | * https://www.mediact.nl |
||
5 | */ |
||
6 | |||
7 | namespace Johmanx10\Transaction\Exception; |
||
8 | |||
9 | use Johmanx10\Transaction\OperationFailureInterface; |
||
10 | use Johmanx10\Transaction\OperationInterface; |
||
11 | use Throwable; |
||
12 | |||
13 | interface FailedRollbackExceptionInterface extends Throwable |
||
14 | { |
||
15 | /** |
||
16 | * Get the operation for which the rollback failed. |
||
17 | * |
||
18 | * @return OperationInterface |
||
19 | */ |
||
20 | public function getOperation(): OperationInterface; |
||
21 | |||
22 | /** |
||
23 | * Get the rollbacks that succeeded before the current failure. |
||
24 | * |
||
25 | * @return OperationFailureInterface[] |
||
26 | */ |
||
27 | public function getPreviousRollbacks(): array; |
||
28 | } |
||
29 |