getModelType($this->argument('type')); $o = $class::findOrFail($this->argument('id')); if (! $o->isReadable()) { $this->warn(sprintf('Ignoring [%s], it is not readable',$o->file_path())); exit; } dump($o->properties()); } }