2020-01-18 17:50:11 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace Shaarli\Container;
|
|
|
|
|
|
|
|
use Shaarli\Bookmark\BookmarkServiceInterface;
|
|
|
|
use Shaarli\Config\ConfigManager;
|
2020-05-18 17:17:36 +02:00
|
|
|
use Shaarli\Feed\FeedBuilder;
|
2020-01-26 11:15:15 +01:00
|
|
|
use Shaarli\Formatter\FormatterFactory;
|
2020-01-18 17:50:11 +01:00
|
|
|
use Shaarli\History;
|
2020-06-06 14:01:03 +02:00
|
|
|
use Shaarli\Http\HttpAccess;
|
2020-01-23 20:06:32 +01:00
|
|
|
use Shaarli\Plugin\PluginManager;
|
2020-01-18 17:50:11 +01:00
|
|
|
use Shaarli\Render\PageBuilder;
|
2020-01-23 21:52:03 +01:00
|
|
|
use Shaarli\Render\PageCacheManager;
|
2020-01-18 17:50:11 +01:00
|
|
|
use Shaarli\Security\LoginManager;
|
|
|
|
use Shaarli\Security\SessionManager;
|
2020-06-06 14:01:03 +02:00
|
|
|
use Shaarli\Thumbnailer;
|
2020-01-18 17:50:11 +01:00
|
|
|
use Slim\Container;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Extension of Slim container to document the injected objects.
|
|
|
|
*
|
2020-05-12 12:44:48 +02:00
|
|
|
* @property mixed[] $environment $_SERVER automatically injected by Slim
|
2020-06-13 11:22:14 +02:00
|
|
|
* @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`)
|
2020-01-18 17:50:11 +01:00
|
|
|
* @property ConfigManager $conf
|
|
|
|
* @property SessionManager $sessionManager
|
|
|
|
* @property LoginManager $loginManager
|
2020-01-23 21:52:03 +01:00
|
|
|
* @property string $webPath
|
2020-01-18 17:50:11 +01:00
|
|
|
* @property History $history
|
|
|
|
* @property BookmarkServiceInterface $bookmarkService
|
|
|
|
* @property PageBuilder $pageBuilder
|
2020-01-23 20:06:32 +01:00
|
|
|
* @property PluginManager $pluginManager
|
2020-01-26 11:15:15 +01:00
|
|
|
* @property FormatterFactory $formatterFactory
|
2020-01-23 21:52:03 +01:00
|
|
|
* @property PageCacheManager $pageCacheManager
|
2020-05-18 17:17:36 +02:00
|
|
|
* @property FeedBuilder $feedBuilder
|
2020-06-06 14:01:03 +02:00
|
|
|
* @property Thumbnailer $thumbnailer
|
|
|
|
* @property HttpAccess $httpAccess
|
2020-01-18 17:50:11 +01:00
|
|
|
*/
|
|
|
|
class ShaarliContainer extends Container
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|