Updated wrapper
This commit is contained in:
parent
14a8829087
commit
55e1e9057b
19 changed files with 110 additions and 73 deletions
16
app/Models/FullTemplate.php
Normal file
16
app/Models/FullTemplate.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
use TikScraper\Models\Full;
|
||||
|
||||
/**
|
||||
* Base for templates with both info and feed
|
||||
*/
|
||||
class FullTemplate extends BaseTemplate {
|
||||
public Full $data;
|
||||
|
||||
function __construct(string $title, Full $data) {
|
||||
parent::__construct($title);
|
||||
$this->data = $data;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue