]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/container/ShaarliContainer.php
Merge tag 'v0.12.1' into latest
[github/shaarli/Shaarli.git] / application / container / ShaarliContainer.php
CommitLineData
6c50a6cc
A
1<?php
2
3declare(strict_types=1);
4
5namespace Shaarli\Container;
6
b38a1b02 7use Psr\Log\LoggerInterface;
6c50a6cc
A
8use Shaarli\Bookmark\BookmarkServiceInterface;
9use Shaarli\Config\ConfigManager;
7b2ba6ef 10use Shaarli\Feed\FeedBuilder;
485b168a 11use Shaarli\Formatter\FormatterFactory;
6c50a6cc 12use Shaarli\History;
c22fa57a 13use Shaarli\Http\HttpAccess;
4cf3564d 14use Shaarli\Http\MetadataRetriever;
e8a10f31 15use Shaarli\Netscape\NetscapeBookmarkUtils;
0498b209 16use Shaarli\Plugin\PluginManager;
6c50a6cc 17use Shaarli\Render\PageBuilder;
8e47af2b 18use Shaarli\Render\PageCacheManager;
c4ad3d4f 19use Shaarli\Security\CookieManager;
6c50a6cc
A
20use Shaarli\Security\LoginManager;
21use Shaarli\Security\SessionManager;
c22fa57a 22use Shaarli\Thumbnailer;
1a8ac737 23use Shaarli\Updater\Updater;
6c50a6cc
A
24use Slim\Container;
25
26/**
27 * Extension of Slim container to document the injected objects.
28 *
d52ab0b1 29 * @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`)
9c75f877 30 * @property BookmarkServiceInterface $bookmarkService
c4ad3d4f 31 * @property CookieManager $cookieManager
6c50a6cc 32 * @property ConfigManager $conf
d52ab0b1
A
33 * @property mixed[] $environment $_SERVER automatically injected by Slim
34 * @property callable $errorHandler Overrides default Slim exception display
9c75f877
A
35 * @property FeedBuilder $feedBuilder
36 * @property FormatterFactory $formatterFactory
6c50a6cc 37 * @property History $history
9c75f877
A
38 * @property HttpAccess $httpAccess
39 * @property LoginManager $loginManager
b38a1b02 40 * @property LoggerInterface $logger
4cf3564d 41 * @property MetadataRetriever $metadataRetriever
e8a10f31 42 * @property NetscapeBookmarkUtils $netscapeBookmarkUtils
d52ab0b1 43 * @property callable $notFoundHandler Overrides default Slim exception display
6c50a6cc 44 * @property PageBuilder $pageBuilder
8e47af2b 45 * @property PageCacheManager $pageCacheManager
d52ab0b1 46 * @property callable $phpErrorHandler Overrides default Slim PHP error display
9c75f877
A
47 * @property PluginManager $pluginManager
48 * @property SessionManager $sessionManager
c22fa57a 49 * @property Thumbnailer $thumbnailer
1a8ac737 50 * @property Updater $updater
6c50a6cc
A
51 */
52class ShaarliContainer extends Container
53{
54
55}