src/Compiler/Join.php
public static function render(SQL\Join $join)
    {
        $condition = $join->getCondition();
        $table = $join->getTable();

        return Compiler::expression(array(
            $join->getType(),
            'JOIN',
            $table instanceof SQL\Aliased ? Aliased::render($table) : $table,
            is_array($condition) ? self::renderArrayCondition($condition) : $condition,
        ));
    }
public static function render(SQL\Join $join)
    {
        $condition = $join->getCondition();
        $table = $join->getTable();

        return Compiler::expression(array(
            $join->getType(),
            'JOIN',
            $table instanceof SQL\Aliased ? Aliased::render($table) : $table,
            is_array($condition) ? self::renderArrayCondition($condition) : $condition,
        ));
    }
public static function render ( SQL \ Join $ join ) { $ condition = $ join -> getCondition ( ) ; $ table = $ join -> getTable ( ) ; return Compiler :: expression ( array ( $ join -> getType ( ) , 'JOIN' , $ table instanceof SQL \ Aliased ? Aliased :: render ( $ table ) : $ table , is_array ( $ condition ) ? self :: renderArrayCondition ( $ condition ) : $ condition , ) ) ; }
Render a Join object

@param  SQL\Join $join
@return string
Render a Join object