src/Visitor/Printer/Query.php
private function appendWhereClauseIfNecessary(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
    {
        if ($query->getCondition() != null) {
            $whereClause = $this->predicateVisitor->printPredicateStatement($query->getCondition());
            $assembler->setWhereClause($whereClause);
        }
    }
private function appendWhereClauseIfNecessary(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
    {
        if ($query->getCondition() != null) {
            $whereClause = $this->predicateVisitor->printPredicateStatement($query->getCondition());
            $assembler->setWhereClause($whereClause);
        }
    }
private function appendWhereClauseIfNecessary ( \ Aztech \ Skwal \ Visitor \ Printer \ Assembler \ Select $ assembler , \ Aztech \ Skwal \ Query \ Select $ query ) { if ( $ query -> getCondition ( ) != null ) { $ whereClause = $ this -> predicateVisitor -> printPredicateStatement ( $ query -> getCondition ( ) ) ; $ assembler -> setWhereClause ( $ whereClause ) ; } }
Adds the where clause of a query to a query assembler if the given query has a selection condition.

@param \Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler
@param \Aztech\Skwal\Query\Select $query
Adds the where clause of a query to a query assembler if the given query has a selection condition .