mirror of
https://github.com/pablouser1/ProxiTok.git
synced 2024-12-06 19:27:30 +01:00
17 lines
310 B
PHP
17 lines
310 B
PHP
<?php
|
|
namespace App\Models;
|
|
|
|
/**
|
|
* Base for templates with a feed
|
|
*/
|
|
class FeedTemplate extends BaseTemplate {
|
|
public object $data;
|
|
|
|
function __construct(string $title, object $feed) {
|
|
parent::__construct($title);
|
|
$this->data = (object) [
|
|
'feed' => $feed
|
|
];
|
|
}
|
|
}
|