src/Bridge/Doctrine/Orm/Util/QueryChecker.php
public static function hasLeftJoin(QueryBuilder $queryBuilder): bool
    {
        foreach ($queryBuilder->getDQLPart('join') as $joins) {
            foreach ($joins as $join) {
                if (Join::LEFT_JOIN === $join->getJoinType()) {
                    return true;
                }
            }
        }

        return false;
    }
public static function hasLeftJoin(QueryBuilder $queryBuilder): bool
    {
        foreach ($queryBuilder->getDQLPart('join') as $joins) {
            foreach ($joins as $join) {
                if (Join::LEFT_JOIN === $join->getJoinType()) {
                    return true;
                }
            }
        }

        return false;
    }
public static function hasLeftJoin ( QueryBuilder $ queryBuilder ) : bool { foreach ( $ queryBuilder -> getDQLPart ( 'join' ) as $ joins ) { foreach ( $ joins as $ join ) { if ( Join :: LEFT_JOIN === $ join -> getJoinType ( ) ) { return true ; } } } return false ; }
Determines whether the QueryBuilder already has a left join.
Determines whether the QueryBuilder already has a left join .