proxitok/app/Models/RSSTemplate.php

20 lines
403 B
PHP
Raw Normal View History

<?php
namespace App\Models;
/**
* Base for templates with a feed
*/
class RSSTemplate {
public string $title;
public string $desc;
public string $link;
public array $items;
function __construct(string $title, string $desc, string $link, array $items) {
$this->title = $title;
$this->desc = $desc;
$this->link = $link;
$this->items = $items;
}
}