| 1 | <?php |
||
| 10 | class ExistsAndDeleteTranslation |
||
| 11 | { |
||
| 12 | private $exists; |
||
| 13 | private $delete; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * ExistsAndDeleteTranslation constructor. |
||
| 17 | */ |
||
| 18 | 3 | public function __construct() |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param Translation $translation |
||
| 26 | * @return bool |
||
| 27 | * @throws TranslationDoesNotExistsException |
||
| 28 | */ |
||
| 29 | 3 | public function make(Translation $translation): bool |
|
| 39 | } |
||
| 40 |