Isswp101\Persimmon\Model::save PHP Method

save() public method

Save the model.
public save ( array $columns = ['*'] ) : boolean
$columns array
return boolean
    public function save($columns = ['*'])
    {
        $columns = $columns ? (array) $columns : ['*'];
        if ($this->saving() === false) {
            return false;
        }
        $this->fillTimestamp();
        $this->_dal->put($columns);
        $this->_exist = true;
        // self::cache()->put($id, $this);
        if ($this->saved() === false) {
            return false;
        }
        return true;
    }