aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/container/ShaarliContainer.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/container/ShaarliContainer.php')
-rw-r--r--application/container/ShaarliContainer.php26
1 files changed, 23 insertions, 3 deletions
diff --git a/application/container/ShaarliContainer.php b/application/container/ShaarliContainer.php
index 3fa9116e..9a9a974a 100644
--- a/application/container/ShaarliContainer.php
+++ b/application/container/ShaarliContainer.php
@@ -6,23 +6,43 @@ namespace Shaarli\Container;
6 6
7use Shaarli\Bookmark\BookmarkServiceInterface; 7use Shaarli\Bookmark\BookmarkServiceInterface;
8use Shaarli\Config\ConfigManager; 8use Shaarli\Config\ConfigManager;
9use Shaarli\Feed\FeedBuilder;
10use Shaarli\Formatter\FormatterFactory;
9use Shaarli\History; 11use Shaarli\History;
12use Shaarli\Http\HttpAccess;
13use Shaarli\Netscape\NetscapeBookmarkUtils;
10use Shaarli\Plugin\PluginManager; 14use Shaarli\Plugin\PluginManager;
11use Shaarli\Render\PageBuilder; 15use Shaarli\Render\PageBuilder;
16use Shaarli\Render\PageCacheManager;
17use Shaarli\Security\CookieManager;
12use Shaarli\Security\LoginManager; 18use Shaarli\Security\LoginManager;
13use Shaarli\Security\SessionManager; 19use Shaarli\Security\SessionManager;
20use Shaarli\Thumbnailer;
21use Shaarli\Updater\Updater;
14use Slim\Container; 22use Slim\Container;
15 23
16/** 24/**
17 * Extension of Slim container to document the injected objects. 25 * Extension of Slim container to document the injected objects.
18 * 26 *
27 * @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`)
28 * @property BookmarkServiceInterface $bookmarkService
29 * @property CookieManager $cookieManager
19 * @property ConfigManager $conf 30 * @property ConfigManager $conf
20 * @property SessionManager $sessionManager 31 * @property mixed[] $environment $_SERVER automatically injected by Slim
21 * @property LoginManager $loginManager 32 * @property callable $errorHandler Overrides default Slim exception display
33 * @property FeedBuilder $feedBuilder
34 * @property FormatterFactory $formatterFactory
22 * @property History $history 35 * @property History $history
23 * @property BookmarkServiceInterface $bookmarkService 36 * @property HttpAccess $httpAccess
37 * @property LoginManager $loginManager
38 * @property NetscapeBookmarkUtils $netscapeBookmarkUtils
24 * @property PageBuilder $pageBuilder 39 * @property PageBuilder $pageBuilder
40 * @property PageCacheManager $pageCacheManager
41 * @property callable $phpErrorHandler Overrides default Slim PHP error display
25 * @property PluginManager $pluginManager 42 * @property PluginManager $pluginManager
43 * @property SessionManager $sessionManager
44 * @property Thumbnailer $thumbnailer
45 * @property Updater $updater
26 */ 46 */
27class ShaarliContainer extends Container 47class ShaarliContainer extends Container
28{ 48{