Source of file TranslationService.php
Size: 0,513 Bytes - Last Modified: 2021-12-24T06:44:44+00:00
/var/www/docs.ssmods.com/process/src/src/services/TranslationService.php
123456789101112131415161718192021222324 | <?php namespace DNADesign\AudioDefinition\Services; interface TranslationService { /** * Should return an array containing * definitions and/or audioSrc * * @param string $wordOrSentence * @return array */ public function getDefinitionAndAudio($wordOrSentence): array; /** * Return whether a service is ready to be used * eg: in case it needs an api key, check that it is supplied * * @return boolean */ public function enabled(): bool; } |