Skip to content

Commit

Permalink
add documentation for replacing multiple values in a file at once
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit committed Mar 6, 2015
1 parent b918d9b commit 16b3a75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Task/File/Replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
* ->regex('~^service:~')
* ->to('services:')
* ->run();
*
* $this->taskReplaceInFile('box/robo.txt')
* ->from(array('##dbname##', 'robo'))
* ->to(array('##dbhost## ', 'localhost'))
* ->run();
* ?>
* ```
*
Expand Down

0 comments on commit 16b3a75

Please sign in to comment.