Contao\Model\Collection::save PHP Method

save() public method

Save the current model
public save ( ) : static
return static The model collection object
    public function save()
    {
        if ($this->intIndex < 0) {
            $this->first();
        }
        $this->arrModels[$this->intIndex]->save();
        return $this;
    }