| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class JsonTranslator implements TranslatorInterface { |
||
| 10 | |||
| 11 | private FileFetcher $fileFetcher; |
||
| 12 | private array $messages; |
||
| 13 | |||
| 14 | public function __construct( FileFetcher $fileFetcher ) { |
||
| 17 | } |
||
| 18 | |||
| 19 | public function addFile( string $fileName ): self { |
||
| 23 | } |
||
| 24 | |||
| 25 | public function trans( string $messageKey, array $parameters = [] ): string { |
||
| 32 | } |