public function makeAliasKey($table, $increment = true)
    {
        //        if ($increment) {
//            $this->_aliasesCount += 1;
//        }
        return strtr('{table}_{count}', [
            '{table}' => TableNameResolver::getTableName($table),
            '{count}' => $this->_aliasesCount + 1,
        ]);
    }
public function makeAliasKey($table, $increment = true)
    {
        //        if ($increment) {
//            $this->_aliasesCount += 1;
//        }
        return strtr('{table}_{count}', [
            '{table}' => TableNameResolver::getTableName($table),
            '{count}' => $this->_aliasesCount + 1,
        ]);
    }
public function makeAliasKey ( $ table , $ increment = true ) { //        if ($increment) { //            $this->_aliasesCount += 1; //        } return strtr ( '{table}_{count}' , [ '{table}' => TableNameResolver :: getTableName ( $ table ) , '{count}' => $ this -> _aliasesCount + 1 , ] ) ; }
Makes alias for joined table.

@param $table
@param bool $increment

@return string
Makes alias for joined table .