private function setManyToManyValuedCondition($association, $alias, $arr)
    {
        if (empty($this->fieldValue['value']) || $this->position < count($arr) - 2) {
            return null;
        }
        $targetField = $this->position == count($arr) - 1 ? $association['joinTable']['joinColumns'][0]['referencedColumnName'] : end($arr);

        return $this->makeExpression($targetField, $this->fieldValue['operation'], $this->fieldValue['value'], $alias);
    }
private function setManyToManyValuedCondition($association, $alias, $arr)
    {
        if (empty($this->fieldValue['value']) || $this->position < count($arr) - 2) {
            return null;
        }
        $targetField = $this->position == count($arr) - 1 ? $association['joinTable']['joinColumns'][0]['referencedColumnName'] : end($arr);

        return $this->makeExpression($targetField, $this->fieldValue['operation'], $this->fieldValue['value'], $alias);
    }
private function setManyToManyValuedCondition ( $ association , $ alias , $ arr ) { if ( empty ( $ this -> fieldValue [ 'value' ] ) || $ this -> position < count ( $ arr ) - 2 ) { return null ; } $ targetField = $ this -> position == count ( $ arr ) - 1 ? $ association [ 'joinTable' ] [ 'joinColumns' ] [ 0 ] [ 'referencedColumnName' ] : end ( $ arr ) ; return $ this -> makeExpression ( $ targetField , $ this -> fieldValue [ 'operation' ] , $ this -> fieldValue [ 'value' ] , $ alias ) ; }
Create a condition with the value.

@param array  $association
@param string $alias
@param array  $arr

@return mix|null
Create a condition with the value .