mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-17 15:23:22 +02:00
30 lines
575 B
PHP
30 lines
575 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Entities\Clip;
|
|
|
|
/**
|
|
* @property string $theme
|
|
*/
|
|
class VideoClip extends BaseClip
|
|
{
|
|
protected string $type = 'video';
|
|
|
|
public function __construct(array $data = null)
|
|
{
|
|
parent::__construct($data);
|
|
|
|
if ($this->metadata !== null) {
|
|
$this->theme = $this->metadata['theme'];
|
|
$this->format = $this->metadata['format'];
|
|
}
|
|
}
|
|
}
|