| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 8 | class GoogleTranslator implements TranslatorInterface |
||
| 9 | { |
||
| 10 | private TranslationServiceClient $translationServiceClient; |
||
| 11 | |||
| 12 | private string $projectId; |
||
| 13 | |||
| 14 | private string $languageFrom; |
||
| 15 | |||
| 16 | private string $languageTo; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 33 | } |
||
| 34 | |||
| 35 | public function translate(array $texts): array |
||
| 54 |