/** * Gets the right tableMap for this join * * @return TableMap The table map */ public function getTableMap() { if (null === $this->tableMap && null !== $this->relationMap) { $this->tableMap = $this->relationMap->getRightTable(); } return $this->tableMap; }