lib/Sirel/Visitor/ToSql.php
protected function visitSirelNodeJoinSource(Node\JoinSource $joinSource)
    {
        $right = $joinSource->getRight();

        return
            "FROM "
            . $this->visit($joinSource->getLeft())
            . ($right ? ' ' . join(' ', $this->visitEach($right)) : null);
    }
protected function visitSirelNodeJoinSource(Node\JoinSource $joinSource)
    {
        $right = $joinSource->getRight();

        return
            "FROM "
            . $this->visit($joinSource->getLeft())
            . ($right ? ' ' . join(' ', $this->visitEach($right)) : null);
    }
protected function visitSirelNodeJoinSource ( Node \ JoinSource $ joinSource ) { $ right = $ joinSource -> getRight ( ) ; return "FROM " . $ this -> visit ( $ joinSource -> getLeft ( ) ) . ( $ right ? ' ' . join ( ' ' , $ this -> visitEach ( $ right ) ) : null ) ; }
Returns the FROM part and visits the JOINs

@param  Node\JoinSource $joinSource
@return string
Returns the FROM part and visits the JOINs