openvk/Web/Models/VideoDrivers/VideoDriver.php

19 lines
385 B
PHP
Raw Permalink Normal View History

2020-06-07 19:04:43 +03:00
<?php declare(strict_types=1);
namespace openvk\Web\Models\VideoDrivers;
abstract class VideoDriver
{
protected $id;
function __construct(string $id)
{
$this->id = $id;
}
abstract function getThumbnailURL(): string;
abstract function getURL(): string;
abstract function getEmbed(string $w = "600", string $h = "340"): string;
2020-06-07 19:04:43 +03:00
}