Skip to content

Commit

Permalink
small fix in readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
Edujugon committed Apr 23, 2018
1 parent 8b382ab commit 4ef0319
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 @@ -221,13 +221,13 @@ $mapper->mergeXML($newXml, 'desiredParentTag');
#### Wrap the current xml with a custom tag

```php
$mapper->wrapWith('$tagName');
$mapper->wrapWith('tagName');
```

#### Add attributes based on tagName

```php
$mapper-addAttributes($tagName, ['attr1' => 'value1', 'attr2' => 'value2');
$mapper-addAttributes('tagName', ['attr1' => 'value1', 'attr2' => 'value2');
```

Enjoy :)

0 comments on commit 4ef0319

Please sign in to comment.