More fixes

This commit is contained in:
Pablo Ferreiro 2022-03-11 23:24:13 +01:00
parent c62df9d631
commit b8f8eb710f
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
5 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,14 @@
<?php
namespace App\Models;
/**
* 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;
}
}