public function add($conditions = [], $values = [], $types = [])
    {
        if (!is_array($conditions)) {
            $conditions = [$conditions];
        }
        if (!is_array($values)) {
            $values = [$values];
        }
        if (!is_array($types)) {
            $types = [$types];
        }

        $this->_addExpressions($conditions, $values, $types);

        return $this;
    }
public function add($conditions = [], $values = [], $types = [])
    {
        if (!is_array($conditions)) {
            $conditions = [$conditions];
        }
        if (!is_array($values)) {
            $values = [$values];
        }
        if (!is_array($types)) {
            $types = [$types];
        }

        $this->_addExpressions($conditions, $values, $types);

        return $this;
    }
public function add ( $ conditions = [ ] , $ values = [ ] , $ types = [ ] ) { if ( ! is_array ( $ conditions ) ) { $ conditions = [ $ conditions ] ; } if ( ! is_array ( $ values ) ) { $ values = [ $ values ] ; } if ( ! is_array ( $ types ) ) { $ types = [ $ types ] ; } $ this -> _addExpressions ( $ conditions , $ values , $ types ) ; return $ this ; }
Adds one or more conditions and their respective true values to the case object.
Conditions must be a one dimensional array or a QueryExpression.
The trueValues must be a similar structure, but may contain a string value.

@param array|\Cake\Database\ExpressionInterface $conditions Must be a ExpressionInterface instance, or an array of ExpressionInterface instances.
@param array|\Cake\Database\ExpressionInterface $values associative array of values of each condition
@param array $types associative array of types to be associated with the values

@return $this
Adds one or more conditions and their respective true values to the case object . Conditions must be a one dimensional array or a QueryExpression . The trueValues must be a similar structure but may contain a string value .