original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: 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
docstring_tokens: Adds the where clause of a query to a query assembler if the given query has a selection condition .