mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 02:23:11 +00:00
Fix view instance
This commit is contained in:
@@ -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',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user