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