getValues() as $column => $value) { $value = $this->writer->writePlaceholderValue($value); $assigns[] = "$column = $value"; } return \implode(', ', $assigns); } /** * Creates a Column object. * * @param array $argument * @param null|Table $table * * @return Column */ public static function createColumn(array &$argument, $table = null) { $columnName = \array_values($argument); $columnName = $columnName[0]; $columnAlias = \array_keys($argument); $columnAlias = $columnAlias[0]; if (\is_numeric($columnAlias) || \strpos($columnName, '*') !== false) { $columnAlias = null; } return new Column($columnName, (string) $table, $columnAlias); } }