# fluentform/1.2.4/app/Services/wpfluent/src/QueryBuilder/NestedCriteria.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 1.2.4. 21 lines.

- Page: https://pluginprobe.com/plugins/fluentform/1.2.4/code/app/Services/wpfluent/src/QueryBuilder/NestedCriteria.php
- Raw: https://pluginprobe.com/plugins/fluentform/1.2.4/raw/app/Services/wpfluent/src/QueryBuilder/NestedCriteria.php
- Modified: 2017-12-29T16:40:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/1.2.4/code/app/Services/wpfluent/src/QueryBuilder/NestedCriteria.php#L10-L20`.

```php
<?php namespace WpFluent\QueryBuilder;

class NestedCriteria extends QueryBuilderHandler
{
    /**
     * @param        $key
     * @param null   $operator
     * @param null   $value
     * @param string $joiner
     *
     * @return $this
     */
    protected function whereHandler($key, $operator = null, $value = null, $joiner = 'AND')
    {
        $key = $this->addTablePrefix($key);
        $this->statements['criteria'][] = compact('key', 'operator', 'value', 'joiner');

        return $this;
    }
}

```
