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