| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class InlineQueryResultVoice extends InlineQueryResultAbstract |
||
| 6 | { |
||
| 7 | const ENTITY_TYPE = 'InlineQueryResultVoice'; |
||
| 8 | |||
| 9 | const RESULT_TYPE = 'voice'; |
||
| 10 | |||
| 11 | protected $voice_url; |
||
| 12 | |||
| 13 | protected $voice_duration; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public function getVoiceUrl() |
||
| 19 | { |
||
| 20 | return $this->voice_url; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param mixed $voice_url |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setVoiceUrl($voice_url) |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function getVoiceDuration() |
||
| 39 | { |
||
| 40 | return $this->voice_duration; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param mixed $voice_duration |
||
| 45 | * |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setVoiceDuration($voice_duration) |
||
| 53 | } |
||
| 54 | } |
||
| 55 |