Refactor ExAuth for DICE

This commit is contained in:
Philipp Holzer 2019-07-28 00:14:39 +02:00 committed by Hypolite Petovan
parent ee02be3d48
commit 8565617ea1
3 changed files with 75 additions and 41 deletions

View file

@ -80,6 +80,7 @@ $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['auth_ejabb
$appMode = $dice->create(Mode::class);
if ($appMode->isNormal()) {
$oAuth = new ExAuth();
/** @var ExAuth $oAuth */
$oAuth = $dice->create(ExAuth::class);
$oAuth->readStdin();
}