diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-01-18 17:50:11 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-01-26 11:34:14 +0100 |
commit | 6c50a6ccceecf54850e62c312ab2397b84d89ab4 (patch) | |
tree | 3205aa447930eab020ea04bf00082880abec5001 /application/container/ShaarliContainer.php | |
parent | 1410dce2db310e71b5e683b0871c2f28d8807844 (diff) | |
download | Shaarli-6c50a6ccceecf54850e62c312ab2397b84d89ab4.tar.gz Shaarli-6c50a6ccceecf54850e62c312ab2397b84d89ab4.tar.zst Shaarli-6c50a6ccceecf54850e62c312ab2397b84d89ab4.zip |
Render login page through Slim controller
Diffstat (limited to 'application/container/ShaarliContainer.php')
-rw-r--r-- | application/container/ShaarliContainer.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/application/container/ShaarliContainer.php b/application/container/ShaarliContainer.php new file mode 100644 index 00000000..f5483d5e --- /dev/null +++ b/application/container/ShaarliContainer.php | |||
@@ -0,0 +1,28 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Shaarli\Container; | ||
6 | |||
7 | use Shaarli\Bookmark\BookmarkServiceInterface; | ||
8 | use Shaarli\Config\ConfigManager; | ||
9 | use Shaarli\History; | ||
10 | use Shaarli\Render\PageBuilder; | ||
11 | use Shaarli\Security\LoginManager; | ||
12 | use Shaarli\Security\SessionManager; | ||
13 | use Slim\Container; | ||
14 | |||
15 | /** | ||
16 | * Extension of Slim container to document the injected objects. | ||
17 | * | ||
18 | * @property ConfigManager $conf | ||
19 | * @property SessionManager $sessionManager | ||
20 | * @property LoginManager $loginManager | ||
21 | * @property History $history | ||
22 | * @property BookmarkServiceInterface $bookmarkService | ||
23 | * @property PageBuilder $pageBuilder | ||
24 | */ | ||
25 | class ShaarliContainer extends Container | ||
26 | { | ||
27 | |||
28 | } | ||