public function getFeedContent() { list($class, $method) = explode('@', $this->feedConfiguration['items']); $items = app($class)->{$method}(); $meta = ['id' => url($this->feedConfiguration['url']), 'link' => url($this->feedConfiguration['url']), 'title' => $this->feedConfiguration['title'], 'updated' => $this->getLastUpdatedDate($items)]; return view('laravel-feed::feed', compact('meta', 'items'))->render(); }