| Total Complexity | 1 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PlaybackFailed extends AbstractPlaybackDirective |
||
| 11 | { |
||
| 12 | const TYPE = 'AudioPlayer.PlaybackFailed'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Error |
||
| 16 | */ |
||
| 17 | public $error; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var CurrentPlaybackState |
||
| 21 | */ |
||
| 22 | public $currentPlaybackState; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $requestId |
||
| 26 | * @param string $timestamp |
||
| 27 | * @param string $token |
||
| 28 | * @param int $offsetInMilliseconds |
||
| 29 | * @param string $locale |
||
| 30 | * @param Error $error |
||
| 31 | * @param CurrentPlaybackState $currentPlaybackState |
||
| 32 | * |
||
| 33 | * @return PlaybackFailed |
||
| 34 | */ |
||
| 35 | 5 | public static function create(string $requestId, string $timestamp, string $token, int $offsetInMilliseconds, string $locale, Error $error, CurrentPlaybackState $currentPlaybackState): self |
|
| 47 |