mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-20 02:53:11 +00:00
@@ -41,12 +41,12 @@ class MetaCommand extends Command {
|
|||||||
/** @var \Illuminate\View\Factory */
|
/** @var \Illuminate\View\Factory */
|
||||||
protected $view;
|
protected $view;
|
||||||
|
|
||||||
protected $methods = [
|
protected $methods = array(
|
||||||
'\Illuminate\Foundation\Application::make',
|
'\Illuminate\Foundation\Application::make',
|
||||||
'\Illuminate\Container\Container::make',
|
'\Illuminate\Container\Container::make',
|
||||||
'\App::make',
|
'\App::make',
|
||||||
'app',
|
'app',
|
||||||
];
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -81,10 +81,10 @@ class MetaCommand extends Command {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$content = $this->view->make('laravel-ide-helper::meta', [
|
$content = $this->view->make('laravel-ide-helper::meta', array(
|
||||||
'bindings' => $bindings,
|
'bindings' => $bindings,
|
||||||
'methods' => $this->methods,
|
'methods' => $this->methods,
|
||||||
])->render();
|
))->render();
|
||||||
|
|
||||||
$written = $this->files->put($filename, $content);
|
$written = $this->files->put($filename, $content);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user