src/Jackiedo/DotenvEditor/DotenvWriter.php
public function save($filePath)
    {
        $this->ensureFileIsWritable($filePath);
        file_put_contents($filePath, $this->buffer);

        return $this;
    }
public function save($filePath)
    {
        $this->ensureFileIsWritable($filePath);
        file_put_contents($filePath, $this->buffer);

        return $this;
    }
Save buffer to special file path

@param  string $filePath

@return DotenvWriter