Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace App\Domain\Translation\Repository; |
| 6 | |
| 7 | use App\Domain\Translation\Entity\TranslationRecord; |
| 8 | |
| 9 | interface TranslationRecordRepositoryInterface |
| 10 | { |
| 11 | /** |
| 12 | * @return array<int, TranslationRecord> |
| 13 | */ |
| 14 | public function findAll(): array; |
| 15 | |
| 16 | public function findById(string $id): ?TranslationRecord; |
| 17 | |
| 18 | public function findByKeyCategoryLanguage(string $key, string $category, string $languageCode): ?TranslationRecord; |
| 19 | |
| 20 | public function save(TranslationRecord $record): void; |
| 21 | |
| 22 | public function delete(string $id): void; |
| 23 | } |