protected function generatePrimaryKeyCode($index) { $columns = $index->getColumns(); return sprintf('\\t\\t$table->primary([%s]);', $this->implodeColumnList($columns)) . $this->eol; }