| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class UncompletedOperationException extends AuthorizationException |
||
| 15 | { |
||
| 16 | private $grantable; |
||
| 17 | |||
| 18 | 4 | public function __construct(Grantable $grantable, Throwable $previous = null) |
|
| 22 | 4 | } |
|
| 23 | |||
| 24 | abstract protected function getOperationName(): string; |
||
| 25 | |||
| 26 | public function getGrantable(): Grantable |
||
| 27 | { |
||
| 28 | return $this->grantable; |
||
| 29 | } |
||
| 30 | |||
| 31 | 4 | private function makeMessage(Grantable $grantable): string |
|
| 34 | } |
||
| 35 | } |
||
| 36 |