protected function loadTableSchema($name) { $table = new TableSchema(); $table->name = $name; $table->fullName = $name; if ($this->findColumns($table)) { $this->findConstraints($table); return $table; } else { return null; } }