src/Google/AdsApi/AdWords/Query/v201809/ServiceQueryWhereBuilder.php
public static function createWithField(
        $field,
        ServiceQueryBuilder $queryBuilder
    ) {
        $validationResult = QueryValidator::validateFieldName($field);
        if ($validationResult->isFailed()) {
            throw new InvalidArgumentException(
                'The field name for building the WHERE clause is invalid.' .
                ' Validation fail reason: ' .
                $validationResult->getFailReason()
            );
        }
        return new self($queryBuilder, new ExpressionBuilder($field));
    }
public static function createWithField(
        $field,
        ServiceQueryBuilder $queryBuilder
    ) {
        $validationResult = QueryValidator::validateFieldName($field);
        if ($validationResult->isFailed()) {
            throw new InvalidArgumentException(
                'The field name for building the WHERE clause is invalid.' .
                ' Validation fail reason: ' .
                $validationResult->getFailReason()
            );
        }
        return new self($queryBuilder, new ExpressionBuilder($field));
    }
public static function createWithField ( $ field , ServiceQueryBuilder $ queryBuilder ) { $ validationResult = QueryValidator :: validateFieldName ( $ field ) ; if ( $ validationResult -> isFailed ( ) ) { throw new InvalidArgumentException ( 'The field name for building the WHERE clause is invalid.' . ' Validation fail reason: ' . $ validationResult -> getFailReason ( ) ) ; } return new self ( $ queryBuilder , new ExpressionBuilder ( $ field ) ) ; }
Creates a where builder object to start a logic expression with a
field name.

@param string $field name of the field to be used as the left-hand
operand of a logic expression
@param ServiceQueryBuilder $queryBuilder the query builder object for
continuation of building a complete AWQL string
@return ServiceQueryWhereBuilder a where builder object to build a logic
expression starting with the given field name
Creates a where builder object to start a logic expression with a field name .