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;
|
|
|
|
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
|
|
|
|
* @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-18 17:50:11 +01:00
|
|
|
*/
|
|
|
|
class ShaarliContainer extends Container
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|