@@ -24,6 +24,9 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function getEmbedUrl(bool $forceAutoplay = false, bool $forceSecure = false): string; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function getEmbedCode(int $width, int $height, bool $forceAutoplay = false, bool $forceSecure = false); |
| 28 | 31 | |
| 29 | 32 | public function isEmbeddable(): bool; |
@@ -73,6 +73,9 @@ |
||
| 73 | 73 | return $this->services; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $serviceName |
|
| 78 | + */ |
|
| 76 | 79 | public function hasService($serviceName): bool |
| 77 | 80 | { |
| 78 | 81 | return in_array($serviceName, $this->services); |