src/Phossa2/Query/Traits/Clause/JoinTrait.php
protected function fixJoinTable($table)
    {
        if (is_array($table)) {
            return $table;
        } elseif (is_object($table) && $table instanceof StatementInterface) {
            return [$table, uniqid()];
        } else {
            return [$table, 0]; // alias set 0
        }
    }
protected function fixJoinTable($table)
    {
        if (is_array($table)) {
            return $table;
        } elseif (is_object($table) && $table instanceof StatementInterface) {
            return [$table, uniqid()];
        } else {
            return [$table, 0]; // alias set 0
        }
    }
protected function fixJoinTable ( $ table ) { if ( is_array ( $ table ) ) { return $ table ; } elseif ( is_object ( $ table ) && $ table instanceof StatementInterface ) { return [ $ table , uniqid ( ) ] ; } else { return [ $ table , 0 ] ; // alias set 0 } }
Fix join table

@param  string|string[]|SelectStatementInterface $table
@return array [table, alias]
@access protected
Fix join table