diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-06-13 13:08:01 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 9c75f877935fa6adec951a4d8d32b328aaab314f (patch) | |
tree | 1cdd09ddfc00c6cebb92bb2b90381a06fd31246d /application/container/ShaarliContainer.php | |
parent | 818b3193ffabec57501e3bdfa997206e3c0671ef (diff) | |
download | Shaarli-9c75f877935fa6adec951a4d8d32b328aaab314f.tar.gz Shaarli-9c75f877935fa6adec951a4d8d32b328aaab314f.tar.zst Shaarli-9c75f877935fa6adec951a4d8d32b328aaab314f.zip |
Use multi-level routes for existing controllers instead of 1 level everywhere
Also prefix most admin routes with /admin/
Diffstat (limited to 'application/container/ShaarliContainer.php')
-rw-r--r-- | application/container/ShaarliContainer.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/application/container/ShaarliContainer.php b/application/container/ShaarliContainer.php index a95393cd..4b97aae2 100644 --- a/application/container/ShaarliContainer.php +++ b/application/container/ShaarliContainer.php | |||
@@ -21,21 +21,20 @@ use Slim\Container; | |||
21 | /** | 21 | /** |
22 | * Extension of Slim container to document the injected objects. | 22 | * Extension of Slim container to document the injected objects. |
23 | * | 23 | * |
24 | * @property mixed[] $environment $_SERVER automatically injected by Slim | ||
25 | * @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`) | 24 | * @property string $basePath Shaarli's instance base path (e.g. `/shaarli/`) |
25 | * @property BookmarkServiceInterface $bookmarkService | ||
26 | * @property ConfigManager $conf | 26 | * @property ConfigManager $conf |
27 | * @property SessionManager $sessionManager | 27 | * @property mixed[] $environment $_SERVER automatically injected by Slim |
28 | * @property LoginManager $loginManager | 28 | * @property FeedBuilder $feedBuilder |
29 | * @property string $webPath | 29 | * @property FormatterFactory $formatterFactory |
30 | * @property History $history | 30 | * @property History $history |
31 | * @property BookmarkServiceInterface $bookmarkService | 31 | * @property HttpAccess $httpAccess |
32 | * @property LoginManager $loginManager | ||
32 | * @property PageBuilder $pageBuilder | 33 | * @property PageBuilder $pageBuilder |
33 | * @property PluginManager $pluginManager | ||
34 | * @property FormatterFactory $formatterFactory | ||
35 | * @property PageCacheManager $pageCacheManager | 34 | * @property PageCacheManager $pageCacheManager |
36 | * @property FeedBuilder $feedBuilder | 35 | * @property PluginManager $pluginManager |
36 | * @property SessionManager $sessionManager | ||
37 | * @property Thumbnailer $thumbnailer | 37 | * @property Thumbnailer $thumbnailer |
38 | * @property HttpAccess $httpAccess | ||
39 | */ | 38 | */ |
40 | class ShaarliContainer extends Container | 39 | class ShaarliContainer extends Container |
41 | { | 40 | { |