1 | <?php |
||
26 | class Sound extends Response |
||
27 | { |
||
28 | /** |
||
29 | * @var FormatLangPair[] The formats and languages in which this sound is available. |
||
30 | */ |
||
31 | private $formats; |
||
32 | |||
33 | /** |
||
34 | * @var string Sound's identifier. |
||
35 | */ |
||
36 | private $id; |
||
37 | |||
38 | /** |
||
39 | * @var string (optional) - Text description of the sound, usually the words spoken. |
||
40 | */ |
||
41 | private $text; |
||
42 | |||
43 | /** |
||
44 | * @return string The formats and languages in which this sound is available. |
||
45 | */ |
||
46 | public function getFormats() |
||
50 | |||
51 | /** |
||
52 | * @return string Sound's identifier. |
||
53 | */ |
||
54 | public function getId() |
||
58 | |||
59 | /** |
||
60 | * @return string (optional) - Text description of the sound, usually the words spoken. |
||
61 | */ |
||
62 | public function getText() |
||
66 | |||
67 | /** |
||
68 | * @param string $response |
||
69 | */ |
||
70 | public function __construct($response) |
||
80 | |||
81 | } |
||
82 |