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-01-26 11:15:15 +01:00
|
|
|
use Shaarli\Formatter\FormatterFactory;
|
2020-01-18 17:50:11 +01:00
|
|
|
use Shaarli\History;
|
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;
|
|
|
|
use Slim\Container;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Extension of Slim container to document the injected objects.
|
|
|
|
*
|
|
|
|
* @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-01-18 17:50:11 +01:00
|
|
|
*/
|
|
|
|
class ShaarliContainer extends Container
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|