src/Jackiedo/DotenvEditor/DotenvEditor.php
public function save()
    {
        if (is_file($this->filePath) && $this->autoBackup) {
            $this->backup();
        }

        $this->writer->save($this->filePath);
        return $this;
    }
public function save()
    {
        if (is_file($this->filePath) && $this->autoBackup) {
            $this->backup();
        }

        $this->writer->save($this->filePath);
        return $this;
    }
Save buffer to file

@return DotenvEditor