summaryrefslogtreecommitdiffstats
path: root/feed.bl.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2013-03-02 19:50:33 +0100
committerAlessandro Cosentino <cosenal@gmail.com>2013-03-02 19:50:33 +0100
commit4902253e9c8aac706091c6337391153b02923689 (patch)
tree3012e106d477a83e718ea42741c445895922df8e /feed.bl.php
parent165540d34652fb895cb7f29c818fb3427bfba8c4 (diff)
prototype for business layer for feed
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();
+ }
+}