]>
Commit | Line | Data |
---|---|---|
6c50a6cc A |
1 | <?php |
2 | ||
3 | declare(strict_types=1); | |
4 | ||
5 | namespace Shaarli\Container; | |
6 | ||
b38a1b02 | 7 | use Psr\Log\LoggerInterface; |
6c50a6cc A |
8 | use Shaarli\Bookmark\BookmarkServiceInterface; |
9 | use Shaarli\Config\ConfigManager; | |
7b2ba6ef | 10 | use Shaarli\Feed\FeedBuilder; |
485b168a | 11 | use Shaarli\Formatter\FormatterFactory; |
6c50a6cc | 12 | use Shaarli\History; |
c22fa57a | 13 | use Shaarli\Http\HttpAccess; |
4cf3564d | 14 | use Shaarli\Http\MetadataRetriever; |
e8a10f31 | 15 | use Shaarli\Netscape\NetscapeBookmarkUtils; |
0498b209 | 16 | use Shaarli\Plugin\PluginManager; |
6c50a6cc | 17 | use Shaarli\Render\PageBuilder; |
8e47af2b | 18 | use Shaarli\Render\PageCacheManager; |
c4ad3d4f | 19 | use Shaarli\Security\CookieManager; |
6c50a6cc A |
20 | use Shaarli\Security\LoginManager; |
21 | use Shaarli\Security\SessionManager; | |
c22fa57a | 22 | use Shaarli\Thumbnailer; |
1a8ac737 | 23 | use Shaarli\Updater\Updater; |
6c50a6cc A |
24 | use 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 | */ |
52 | class ShaarliContainer extends Container | |
53 | { | |
54 | ||
55 | } |