diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-03 11:06:00 +0100 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-03 11:06:00 +0100 |
commit | 0852773340ed26ecc8faa8e61192f38132673bc6 (patch) | |
tree | d5727c17955fb2e2f0d96f58717d819e75762bcf /appinfo/bootstrap.php | |
parent | 4902253e9c8aac706091c6337391153b02923689 (diff) |
adds a call to create feed
Diffstat (limited to 'appinfo/bootstrap.php')
-rw-r--r-- | appinfo/bootstrap.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/appinfo/bootstrap.php b/appinfo/bootstrap.php index e9628979b..c7ce8fb62 100644 --- a/appinfo/bootstrap.php +++ b/appinfo/bootstrap.php @@ -123,6 +123,16 @@ function createDIContainer(){ return new FeedBL($c['FeedMapper']); }); - + /** + * EXTERNAL API LAYER + */ + $newsContainer['API_Feed'] = $newsContainer->share(function($c){ + return new API_($c['FolderMapper']); + }); + + $newsContainer['API_Folder'] = $newsContainer->share(function($c){ + return new FeedBL($c['FeedMapper']); + }); + return $newsContainer; }
\ No newline at end of file |