2022-01-25 11:20:11 -05:00
|
|
|
<?php
|
2022-01-30 18:02:52 -05:00
|
|
|
namespace App\Models;
|
2022-01-25 11:20:11 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base for templates with item (only /video at the time)
|
|
|
|
*/
|
|
|
|
class ItemTemplate extends BaseTemplate {
|
|
|
|
public object $item;
|
|
|
|
|
|
|
|
function __construct(string $title, object $item) {
|
|
|
|
parent::__construct($title);
|
|
|
|
$this->item = $item;
|
|
|
|
}
|
|
|
|
}
|