public function values($values = null)
    {
        deprecationWarning(
            'ValuesExpression::values() is deprecated. ' .
            'Use ValuesExpression::setValues()/getValues() instead.'
        );
        if ($values !== null) {
            return $this->setValues($values);
        }

        return $this->getValues();
    }
public function values($values = null)
    {
        deprecationWarning(
            'ValuesExpression::values() is deprecated. ' .
            'Use ValuesExpression::setValues()/getValues() instead.'
        );
        if ($values !== null) {
            return $this->setValues($values);
        }

        return $this->getValues();
    }
public function values ( $ values = null ) { deprecationWarning ( 'ValuesExpression::values() is deprecated. ' . 'Use ValuesExpression::setValues()/getValues() instead.' ) ; if ( $ values !== null ) { return $ this -> setValues ( $ values ) ; } return $ this -> getValues ( ) ; }
Sets the values to be inserted. If no params are passed, then it returns
the currently stored values

@deprecated 3.4.0 Use setValues()/getValues() instead.
@param array|null $values Array with values to be inserted.
@return array|$this
Sets the values to be inserted . If no params are passed then it returns the currently stored values