code: public function save()
      {
          if (is_file($this->filePath) && $this->autoBackup) {
              $this->backup();
          }
  
          $this->writer->save($this->filePath);
          return $this;
      }
docs: Save buffer to file
  
  @return DotenvEditor