Skip to content

Commit 66325c2

Browse files
committed
add container alias
1 parent a6068b0 commit 66325c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ public function isLocale($locale)
10951095
public function registerCoreContainerAliases()
10961096
{
10971097
$aliases = [
1098-
'app' => [\Illuminate\Foundation\Application::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class],
1098+
'app' => [\Illuminate\Foundation\Application::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class],
10991099
'auth' => [\Illuminate\Auth\AuthManager::class, \Illuminate\Contracts\Auth\Factory::class],
11001100
'auth.driver' => [\Illuminate\Contracts\Auth\Guard::class],
11011101
'blade.compiler' => [\Illuminate\View\Compilers\BladeCompiler::class],

0 commit comments

Comments
 (0)