Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ExistsAndDeleteTranslation |
||
11 | { |
||
12 | private $exists; |
||
13 | private $delete; |
||
14 | |||
15 | /** |
||
16 | * ExistsAndDeleteTranslation constructor. |
||
17 | * @throws \Illuminate\Contracts\Container\BindingResolutionException |
||
18 | */ |
||
19 | 3 | public function __construct() |
|
23 | 3 | } |
|
24 | |||
25 | /** |
||
26 | * @param Translation $translation |
||
27 | * @return bool |
||
28 | * @throws TranslationDoesNotExistsException |
||
29 | */ |
||
30 | 3 | public function make(Translation $translation): bool |
|
41 |