MyShaarli/application/container/ShaarliContainer.php

44 lines
1.4 KiB
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace Shaarli\Container;
use Shaarli\Bookmark\BookmarkServiceInterface;
use Shaarli\Config\ConfigManager;
use Shaarli\Feed\FeedBuilder;
use Shaarli\Formatter\FormatterFactory;
use Shaarli\History;
use Shaarli\Http\HttpAccess;
use Shaarli\Plugin\PluginManager;
use Shaarli\Render\PageBuilder;
2020-01-23 21:52:03 +01:00
use Shaarli\Render\PageCacheManager;
use Shaarli\Security\LoginManager;
use Shaarli\Security\SessionManager;
use Shaarli\Thumbnailer;
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
* @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`)
* @property ConfigManager $conf
* @property SessionManager $sessionManager
* @property LoginManager $loginManager
2020-01-23 21:52:03 +01:00
* @property string $webPath
* @property History $history
* @property BookmarkServiceInterface $bookmarkService
* @property PageBuilder $pageBuilder
* @property PluginManager $pluginManager
* @property FormatterFactory $formatterFactory
2020-01-23 21:52:03 +01:00
* @property PageCacheManager $pageCacheManager
* @property FeedBuilder $feedBuilder
* @property Thumbnailer $thumbnailer
* @property HttpAccess $httpAccess
*/
class ShaarliContainer extends Container
{
}