src/Koldy/Db/Model.php
final public function setData(array $values): Model
    {
        if (!is_array($this->data)) {
            $this->data = $values;
        } else {
            $this->data = array_merge($this->data, $values);
        }

        return $this;
    }
final public function setData(array $values): Model
    {
        if (!is_array($this->data)) {
            $this->data = $values;
        } else {
            $this->data = array_merge($this->data, $values);
        }

        return $this;
    }
final public function setData ( array $ values ) : Model { if ( ! is_array ( $ this -> data ) ) { $ this -> data = $ values ; } else { $ this -> data = array_merge ( $ this -> data , $ values ) ; } return $ this ; }
Set the array of values

@param array $values

@return Model
Set the array of values