@@ -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 | |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | return response($this->getFeedContent(), 200, ['Content-Type' => 'application/xml;charset=UTF-8']); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function getFeedContent() |
| 28 | 31 | { |
| 29 | 32 | list($class, $method) = explode('@', $this->getFeedMethod()); |