mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 18:43:12 +00:00
@@ -168,10 +168,12 @@ class ModelsCommand extends Command
|
|||||||
throw new \Exception($name . ' is not instantiable.');
|
throw new \Exception($name . ' is not instantiable.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$model = \App::make($name);
|
$model = $this->laravel->make($name);
|
||||||
|
|
||||||
if ($hasDoctrine) {
|
if ($hasDoctrine) {
|
||||||
$this->getPropertiesFromTable($model);
|
$this->getPropertiesFromTable($model);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->getPropertiesFromMethods($model);
|
$this->getPropertiesFromMethods($model);
|
||||||
$output .= $this->createPhpDocs($name);
|
$output .= $this->createPhpDocs($name);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user