diff options
Diffstat (limited to 'appinfo/bootstrap.php')
-rw-r--r-- | appinfo/bootstrap.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/appinfo/bootstrap.php b/appinfo/bootstrap.php index 72423c399..4bebf20f8 100644 --- a/appinfo/bootstrap.php +++ b/appinfo/bootstrap.php @@ -46,6 +46,10 @@ namespace OCA\News; \OC::$CLASSPATH['OCA\News\NewsController'] = 'apps/news/controller/news.controller.php'; \OC::$CLASSPATH['OCA\News\NewsAjaxController'] = 'apps/news/controller/news.ajax.controller.php'; +\OC::$CLASSPATH['OCA\News\FolderBL'] = 'apps/news/folder.bl.php'; + +\OC::$CLASSPATH['OCA\News\API_Folder'] = 'apps/news/external_api/folder.php'; + /** * @return a new DI container with prefilled values for the news app @@ -106,5 +110,12 @@ function createDIContainer(){ $c['FolderMapper'], $c['ItemMapper']); }; + /** + * BUSINESS LAYER OBJECTS + */ + $newsContainer['FolderBL'] = function($c){ + return new FolderBL($c['FolderMapper']); + }; + return $newsContainer; }
\ No newline at end of file |