'', 'uri' => '', 'icon' => '', 'donationUri' => '', ]; $this->feed = array_merge($default, $feed); } public function getFeed(): array { return $this->feed; } public function setItems(array $items): void { foreach ($items as $item) { $this->items[] = FeedItem::fromArray($item); } } /** * @return FeedItem[] The items */ public function getItems(): array { return $this->items; } public function getMimeType(): string { 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; } }