diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-02 19:50:33 +0100 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-02 19:50:33 +0100 |
commit | 4902253e9c8aac706091c6337391153b02923689 (patch) | |
tree | 3012e106d477a83e718ea42741c445895922df8e /feed.bl.php | |
parent | 165540d34652fb895cb7f29c818fb3427bfba8c4 (diff) |
prototype for business layer for feed
Diffstat (limited to 'feed.bl.php')
-rw-r--r-- | feed.bl.php | 14 |
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(); + } +} |