Skip to content

Commit

Permalink
Merge pull request #9 from blamh/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
lorenzo committed Mar 20, 2016
2 parents c1763d8 + 0909574 commit 97b9ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -190,7 +190,7 @@ Implementing your own metadata listeners is as simple as attaching the listener
```php
EventManager::instance()->on('AuditStash.beforeLog', function ($event, array $logs) {
foreach ($logs as $event) {
$event->setMetadataInfo($event->getMetadataInfo() + ['extra' => 'This is extra data to be stored']);
$event->setMetaInfo($event->getMetaInfo() + ['extra' => 'This is extra data to be stored']);
}
});
```
Expand Down

0 comments on commit 97b9ba0

Please sign in to comment.