L8 requires constructor arguments to PhpEngine

This commit is contained in:
Alexander Skvortsov 2021-03-15 12:48:47 -04:00
parent 92e590f1ab
commit 9fffb8ec1a

View File

@ -86,8 +86,8 @@ class UninstalledSite implements SiteInterface
$container->singleton('view', function ($container) {
$engines = new EngineResolver();
$engines->register('php', function () {
return new PhpEngine();
$engines->register('php', function () use ($container) {
return $container->make(PhpEngine::class);
});
$finder = new FileViewFinder($container->make('files'), []);
$dispatcher = $container->make(Dispatcher::class);