1 | <?php |
||
9 | final class BooleanEnsurance implements EnsuranceInterface |
||
10 | { |
||
11 | use EnsuranceTrait; |
||
12 | |||
13 | /** |
||
14 | * BooleanEnsurance constructor. |
||
15 | * |
||
16 | * @param EnsuranceInterface $ensurance |
||
17 | */ |
||
18 | public function __construct(EnsuranceInterface $ensurance) |
||
22 | |||
23 | 2 | /** |
|
24 | * @return BooleanEnsurance |
||
25 | 2 | */ |
|
26 | 2 | public function isTrue(): self |
|
32 | |||
33 | 1 | /** |
|
34 | * @return BooleanEnsurance |
||
35 | 1 | */ |
|
36 | public function isFalse(): self |
||
42 | } |