1 | <?php |
||
11 | class Google extends AbstractOptions implements OptionsInterface |
||
12 | { |
||
13 | |||
14 | protected $language; |
||
15 | protected $encoding; |
||
16 | protected $voice; |
||
17 | |||
18 | /** |
||
19 | * Set language option |
||
20 | * @param $language |
||
21 | * @return $this |
||
22 | */ |
||
23 | 4 | public function setLanguage($language) |
|
28 | |||
29 | /** |
||
30 | * Get language option |
||
31 | * @return mixed |
||
32 | */ |
||
33 | 5 | public function getLanguage() |
|
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | public function setVoice($voice) |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | public function getVoice() |
||
57 | |||
58 | /** |
||
59 | * Has encoding option |
||
60 | * @return bool |
||
61 | */ |
||
62 | 1 | public function hasLanguage() |
|
66 | |||
67 | /** |
||
68 | * Set encoding [optional] |
||
69 | * @param $encoding |
||
70 | * @return $this |
||
71 | */ |
||
72 | 2 | public function setEncoding($encoding) |
|
77 | |||
78 | /** |
||
79 | * Get encoding |
||
80 | * @return mixed |
||
81 | */ |
||
82 | 2 | public function getEncoding() |
|
86 | |||
87 | /** |
||
88 | * Has encoding option |
||
89 | * @return bool |
||
90 | */ |
||
91 | 4 | public function hasEncoding() |
|
95 | } |
||
96 |