@@ -20,6 +20,10 @@ |
||
20 | 20 | { |
21 | 21 | return response($this->getFeedContent(), 200, array('Content-Type' => 'application/xml;charset=UTF-8')); |
22 | 22 | } |
23 | + |
|
24 | + /** |
|
25 | + * @return string |
|
26 | + */ |
|
23 | 27 | public function getFeedContent() |
24 | 28 | { |
25 | 29 | list($class, $method) = explode('@', $this->feedConfiguration['items']); |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\Feed; |
4 | 4 | |
5 | -use Illuminate\Http\Response; |
|
6 | 5 | use Illuminate\Support\Collection; |
7 | 6 | use Spatie\Feed\Exceptions\InvalidConfiguration; |
8 | 7 | class Feed |