mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
@@ -192,6 +192,9 @@ class ModelsCommand extends Command
|
|||||||
|
|
||||||
if ($hasDoctrine) {
|
if ($hasDoctrine) {
|
||||||
$this->getPropertiesFromTable($model);
|
$this->getPropertiesFromTable($model);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (method_exists($model, 'getCasts')) {
|
||||||
$this->castPropertiesType($model);
|
$this->castPropertiesType($model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user