argument('type'); if (! class_exists($class)) abort(500,sprintf('No class [%s]',$this->argument('type'))); $o = $class::findOrFail($this->argument('id')); if (! is_readable($o->file_path())) { $this->warn(sprintf('Ignoring [%s], it is not readable',$o->file_path())); exit; } print_r($o->properties()); } }