| 1 | <?php |
||
| 10 | class DefaultRenderer implements EmbedRendererInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * A friend once told me that html inside strings |
||
| 14 | * isn't a good thing, but god knows I trying |
||
| 15 | * to make it not dependant of some html element generator |
||
| 16 | * and too lazy to make one of these on my own. |
||
| 17 | * |
||
| 18 | * |
||
| 19 | * |
||
| 20 | * @param string $embedUrl |
||
| 21 | * @param int $width |
||
| 22 | * @param int $height |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 2 | public function renderVideoEmbedCode($embedUrl, $width, $height) |
|
| 30 | } |
||
| 31 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.