/** * @param Select $select * * @return string */ public function write(Select $select) { if ($select->isJoinSelect()) { return $this->writer->writeJoin($select); } return $this->writeSelectQuery($select); }