summaryrefslogtreecommitdiffstats
path: root/appinfo/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/bootstrap.php')
-rw-r--r--appinfo/bootstrap.php12
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