Fix view instance

This commit is contained in:
Barry vd. Heuvel
2024-12-29 19:19:01 +01:00
parent 6b934aa43a
commit 1353c67516
3 changed files with 8 additions and 25 deletions
+6 -1
View File
@@ -135,7 +135,7 @@ class MetaCommand extends Command
return gettype($value);
});
$content = $this->view->make('meta', [
$content = $this->view->make('ide-helper::meta', [
'bindings' => $bindings,
'methods' => $this->methods,
'factories' => $factories,
@@ -191,6 +191,8 @@ class MetaCommand extends Command
return [
'configs' => $this->loadTemplate('configs')->pluck('name')->filter(),
'routes' => $this->loadTemplate('routes')->pluck('name')->filter(),
'views' => $this->loadTemplate('views')->pluck('key')->filter(),
];
}
@@ -215,6 +217,9 @@ class MetaCommand extends Command
'\route()' => [
0 => 'routes',
],
'\view()' => [
0 => 'views',
],
];
}