proxitok/app/Models/FeedTemplate.php
2022-05-24 14:10:41 +02:00

17 lines
310 B
PHP

<?php
namespace App\Models;
/**
* Base for templates with a feed
*/
class FeedTemplate extends BaseTemplate {
public object $data;
function __construct(string $title, object $feed) {
parent::__construct($title);
$this->data = (object) [
'feed' => $feed
];
}
}