aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/container/ShaarliContainer.php
blob: 3995f669ca3815a01c3765a6fc94f988cbfd1744 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                              
                                       
                    
                                 
                               
                                    






                                                                
                                                                                              


                                                     
                                              


                                                      
                                                    
                                                       
                                                       




                                        
<?php

declare(strict_types=1);

namespace Shaarli\Container;

use Shaarli\Bookmark\BookmarkServiceInterface;
use Shaarli\Config\ConfigManager;
use Shaarli\Formatter\FormatterFactory;
use Shaarli\History;
use Shaarli\Plugin\PluginManager;
use Shaarli\Render\PageBuilder;
use Shaarli\Render\PageCacheManager;
use Shaarli\Security\LoginManager;
use Shaarli\Security\SessionManager;
use Slim\Container;

/**
 * Extension of Slim container to document the injected objects.
 *
 * @property mixed[]                  $environment     $_SERVER automatically injected by Slim
 * @property ConfigManager            $conf
 * @property SessionManager           $sessionManager
 * @property LoginManager             $loginManager
 * @property string                   $webPath
 * @property History                  $history
 * @property BookmarkServiceInterface $bookmarkService
 * @property PageBuilder              $pageBuilder
 * @property PluginManager            $pluginManager
 * @property FormatterFactory         $formatterFactory
 * @property PageCacheManager         $pageCacheManager
 */
class ShaarliContainer extends Container
{

}