protected function getSchemaArray() { // ToDo - schema is required? if ($this->scaffoldCommandObj->option('schema') != null) { if ($schema = $this->scaffoldCommandObj->option('schema')) { return (new SchemaParser())->parse($schema); } } return []; }