aboutsummaryrefslogtreecommitdiff
path: root/lib/FormatAbstract.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/FormatAbstract.php')
-rw-r--r--lib/FormatAbstract.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/FormatAbstract.php b/lib/FormatAbstract.php
index 9cba0d8c..17e733a7 100644
--- a/lib/FormatAbstract.php
+++ b/lib/FormatAbstract.php
@@ -8,11 +8,10 @@ abstract class FormatAbstract
protected array $feed = [];
protected array $items = [];
- protected string $charset = 'UTF-8';
protected int $lastModified;
- abstract public function stringify();
+ abstract public function render(): string;
public function setFeed(array $feed)
{
@@ -50,16 +49,6 @@ abstract class FormatAbstract
return static::MIME_TYPE;
}
- public function setCharset(string $charset)
- {
- $this->charset = $charset;
- }
-
- public function getCharset(): string
- {
- return $this->charset;
- }
-
public function setLastModified(int $lastModified)
{
$this->lastModified = $lastModified;