mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
rss feed added
This commit is contained in:
17
app/Support/CustomFeedItem.php
Normal file
17
app/Support/CustomFeedItem.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
use Spatie\Feed\FeedItem;
|
||||
|
||||
class CustomFeedItem extends FeedItem
|
||||
{
|
||||
protected string $content;
|
||||
|
||||
public function content(string $content): self
|
||||
{
|
||||
$this->content = $content;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user