/** * @param Column $column * * @return string */ public function writeColumnWithAlias(Column $column) { if (($alias = $column->getAlias()) && !$column->isAll()) { return $this->writeColumn($column) . ' AS ' . $this->writer->writeColumnAlias($alias); } return $this->writeColumn($column); }