15 lines
267 B
PHP
15 lines
267 B
PHP
<?php
|
|
namespace App\Models;
|
|
|
|
/**
|
|
* Base for templates with a feed
|
|
*/
|
|
class FeedTemplate extends BaseTemplate {
|
|
public object $feed;
|
|
|
|
function __construct(string $title, object $feed) {
|
|
parent::__construct($title);
|
|
$this->feed = $feed;
|
|
}
|
|
}
|