| 1 | <?php |
||
| 2 | |||
| 3 | namespace Cion\TextToSpeech\Converters; |
||
| 4 | |||
| 5 | use Cion\TextToSpeech\Contracts\Converter; |
||
| 6 | use Cion\TextToSpeech\Traits\HasLanguage; |
||
| 7 | use Cion\TextToSpeech\Traits\Sourceable; |
||
| 8 | use Cion\TextToSpeech\Traits\SSMLable; |
||
| 9 | use Cion\TextToSpeech\Traits\Storable; |
||
| 10 | |||
| 11 | class NullConverter implements Converter |
||
| 12 | { |
||
| 13 | use Storable, Sourceable, HasLanguage, SSMLable; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Converts the text to speech. |
||
| 17 | * |
||
| 18 | * @param mixed $data |
||
| 19 | * @param array $options |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function convert($data, array $options = null) |
||
| 23 | { |
||
| 24 | return $this->store($data, null); |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 25 | } |
||
| 26 | } |
||
| 27 |