summaryrefslogtreecommitdiffstats
path: root/fetcher/ifeedfetcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'fetcher/ifeedfetcher.php')
-rw-r--r--fetcher/ifeedfetcher.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php
index 10d0a9af6..8869d9292 100644
--- a/fetcher/ifeedfetcher.php
+++ b/fetcher/ifeedfetcher.php
@@ -15,21 +15,21 @@ namespace OCA\News\Fetcher;
interface IFeedFetcher {
- /**
- * @param string $url remote url of the feed
- * @param boolean $getFavicon if the favicon should also be fetched, defaults
- * to true
- * @throws FetcherException if the fetcher encounters a problem
- * @return array an array containing the new feed and its items, first
- * element being the Feed and second element being an array of Items
- */
- function fetch($url, $getFavicon=true);
+ /**
+ * @param string $url remote url of the feed
+ * @param boolean $getFavicon if the favicon should also be fetched, defaults
+ * to true
+ * @throws FetcherException if the fetcher encounters a problem
+ * @return array an array containing the new feed and its items, first
+ * element being the Feed and second element being an array of Items
+ */
+ function fetch($url, $getFavicon=true);
- /**
- * @param string $url the url that should be fetched
- * @return boolean if the fetcher can handle the url. This fetcher will be
- * used exclusively to fetch the feed and the items of the page
- */
- function canHandle($url);
+ /**
+ * @param string $url the url that should be fetched
+ * @return boolean if the fetcher can handle the url. This fetcher will be
+ * used exclusively to fetch the feed and the items of the page
+ */
+ function canHandle($url);
} \ No newline at end of file