Skip to content

Commit

Permalink
Merge pull request #10 from JackieDo/1.0
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
JackieDo authored May 15, 2017
2 parents 19a03d8 + 8218af0 commit 197f69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Use method `deleteKeys($keys)`. Example:
$file = DotenvEditor::autoBackup(false); // Disable auto backup

#### Method chaining
Some functions of loading, writing, backing up, restoring are implementation and usage of method chaining. So these functions can called to be chained together in a single statement. Example:
Some functions of loading, writing, backing up, restoring are implementation and usage of method chaining. So these functions can be called to chained together in a single statement. Example:

$file = DotenvEditor::load('.env.example')->backup()->setKey('APP_URL', 'http://example.com')->save();
return $file->getKeys();
Expand Down

0 comments on commit 197f69b

Please sign in to comment.