2022-03-29 13:30:31 -04:00
|
|
|
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
|
2022-11-04 15:08:19 -04:00
|
|
|
class RSSTemplate extends BaseTemplate {
|
2022-03-29 13:30:31 -04:00
|
|
|
public string $desc;
|
|
|
|
public string $link;
|
|
|
|
public array $items;
|
|
|
|
|
|
|
|
function __construct(string $title, string $desc, string $link, array $items) {
|
2022-11-04 15:08:19 -04:00
|
|
|
parent::__construct($title);
|
2022-03-29 13:30:31 -04:00
|
|
|
$this->desc = $desc;
|
|
|
|
$this->link = $link;
|
|
|
|
$this->items = $items;
|
|
|
|
}
|
|
|
|
}
|