diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-02 19:48:17 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2017-05-02 19:48:29 +0200 |
commit | 0dd88fad758d63389eebf827f2ac924e83ad5033 (patch) | |
tree | b6eeb7836e46f87195345446784c4f1a68e6d4eb | |
parent | 938dfbf9c63b715b89488f5362cb4d69c9287bea (diff) |
Fix #142
-rw-r--r-- | lib/AppInfo/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index be81c0f2b..5abd0c5be 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -179,6 +179,10 @@ class Application extends App { return $pico; }); + $this->registerService(PicoFeedReader::class, function ($c) { + return new PicoFeedReader($c->query(PicoFeedConfig::class)); + }); + /** @noinspection PhpParamsInspection */ $this->registerService(Fetcher::class, function($c) { $fetcher = new Fetcher(); |