public function visitTable(Table $table, Collector $collector) { if ($table->getSchema()) { $collector->append($this->quoteTableName($table->getSchema()))->append('.'); } if ($table->getAlias()) { return $collector->append($this->quoteTableName($table->getName()))->append(' ')->append($this->quoteTableName($table->getAlias())); } return $collector->append($this->quoteTableName($table->getName())); }