summaryrefslogtreecommitdiffstats
path: root/feed.bl.php
diff options
context:
space:
mode:
Diffstat (limited to 'feed.bl.php')
-rw-r--r--feed.bl.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/feed.bl.php b/feed.bl.php
new file mode 100644
index 000000000..71507af98
--- /dev/null
+++ b/feed.bl.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace OCA\News;
+
+class FeedBL {
+
+ public function __construct($feedMapper){
+ $this->feedMapper = $feedMapper;
+ }
+
+ public function getAll() {
+ return $this->feedMapper->findAll();
+ }
+}