Skip to content

Commit

Permalink
Small clarification of dynamic config
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed May 8, 2015
1 parent fedabb3 commit 5d9ea49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Need to add or modify rules for a single input? Pass in a configuration array in

$cleaned = Purify::clean($input, $configuration);

> **Note**: Configuration passed into the second parameter is merged with the current configuration. This allows you to
add settings on the fly. Simply pass `false` into the third parameter if you **do not** want the configuration merged.
> **Note**: Configuration passed into the second parameter is merged with the current configuration and will overwrite array keys you supply.
This allows you to add settings on the fly. Simply pass `false` into the third parameter if you **do not** want the configuration merged.

$configuration = ['HTML.Allowed' => 'div,b,a[href]'];

Expand Down

0 comments on commit 5d9ea49

Please sign in to comment.