proxitok/app/Models/FeedTemplate.php

17 lines
310 B
PHP
Raw Normal View History

<?php
2022-01-30 18:02:52 -05:00
namespace App\Models;
/**
* Base for templates with a feed
*/
class FeedTemplate extends BaseTemplate {
2022-05-24 08:10:41 -04:00
public object $data;
2022-02-16 09:20:35 -05:00
function __construct(string $title, object $feed) {
parent::__construct($title);
2022-05-24 08:10:41 -04:00
$this->data = (object) [
'feed' => $feed
];
}
}