Revert "Added better og support"

This reverts commit fa3f1e0a7c.
This commit is contained in:
Pablo Ferreiro 2022-11-26 23:36:20 +01:00
parent fa3f1e0a7c
commit ee6e8b0593
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
15 changed files with 47 additions and 84 deletions

View file

@ -1,19 +1,16 @@
<?php
namespace App\Models;
use TikScraper\Models\Feed;
use TikScraper\Models\Info;
use TikScraper\Models\Full;
/**
* Base for templates with both info and feed
*/
class FullTemplate extends BaseTemplate {
public Info $info;
public Feed $feed;
public Full $data;
function __construct(string $title, Info $info, Feed $feed) {
function __construct(string $title, Full $data) {
parent::__construct($title);
$this->info = $info;
$this->feed = $feed;
$this->data = $data;
}
}