diff options
Diffstat (limited to 'utility/picofeedreaderfactory.php')
-rw-r--r-- | utility/picofeedreaderfactory.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/utility/picofeedreaderfactory.php b/utility/picofeedreaderfactory.php deleted file mode 100644 index 844a0e402..000000000 --- a/utility/picofeedreaderfactory.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/** - * ownCloud - News - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Alessandro Cosentino <cosenal@gmail.com> - * @author Bernhard Posselt <dev@bernhard-posselt.com> - * @copyright Alessandro Cosentino 2012 - * @copyright Bernhard Posselt 2012, 2014 - */ - - -namespace OCA\News\Utility; - -use \PicoFeed\Config; -use \PicoFeed\Reader; - -class PicoFeedReaderFactory { - - private $config; - - public function __construct(Config $config) { - $this->config = $config; - } - - - /** - * Returns a new instance of an PicoFeed Http Reader - * @return \PicoFeed\Reader instance - */ - public function build() { - return new Reader($this->config); - } - - -}
\ No newline at end of file |