openvk/Web/Models/VideoDrivers/VideoDriver.php

22 lines
399 B
PHP
Raw Normal View History

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