diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-21 18:37:37 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-21 18:37:37 +0200 |
commit | 212760d4c93ce14e9ae34ef207bbb8f48a7dd9a7 (patch) | |
tree | 3fe9dd267bf3584f206ae589c1b168a58eabafb2 /includes | |
parent | 945fcb079a219fa29e8f6ee1afc3f1c0c5c822cb (diff) |
Changed Container to Illuminate/Container
@see https://laravel.com/docs/5.5/container
@see https://davejamesmiller.com/2017/06/15/laravel-illuminate-container-in-depth
Diffstat (limited to 'includes')
-rw-r--r-- | includes/engelsystem_provider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php index 0de5e0f5..33422bfc 100644 --- a/includes/engelsystem_provider.php +++ b/includes/engelsystem_provider.php @@ -106,8 +106,8 @@ Db::getPdo()->setAttribute(PDO::ATTR_EMULATE_PREPARES, false); */ $logger = new EngelsystemLogger(); $app->instance('logger', $logger); -$app->instance(LoggerInterface::class, $logger); -$app->instance(EngelsystemLogger::class, $logger); +$app->bind(LoggerInterface::class, 'logger'); +$app->bind(EngelsystemLogger::class, 'logger'); /** |