public function buildSubSelect(Table $fromTable) : Select
    {
        $subSelect = Select::from($fromTable);
        $subSelect->setAlias($this->generateUniqueAliasFor($fromTable->getName()));

        $subSelect->outerSelectAliases = $this->getTakenAliases();

        return $subSelect;
    }
public function buildSubSelect(Table $fromTable) : Select
    {
        $subSelect = Select::from($fromTable);
        $subSelect->setAlias($this->generateUniqueAliasFor($fromTable->getName()));

        $subSelect->outerSelectAliases = $this->getTakenAliases();

        return $subSelect;
    }
public function buildSubSelect ( Table $ fromTable ) : Select { $ subSelect = Select :: from ( $ fromTable ) ; $ subSelect -> setAlias ( $ this -> generateUniqueAliasFor ( $ fromTable -> getName ( ) ) ) ; $ subSelect -> outerSelectAliases = $ this -> getTakenAliases ( ) ; return $ subSelect ; }
Builds a select for use as a subselect within this select instance.

@param Table $fromTable

@return Select
Builds a select for use as a subselect within this select instance .