Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Docs formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dersam committed Jun 15, 2015
1 parent b6df455 commit 664983d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ Events can be listened for using symfony/event-dispatcher.
`prophet.postmodule`: Fired right after the module test suite is completed (regardless of success or failure).

```
$dispatcher = new \\Symfony\\Component\\EventDispatcher\\EventDispatcher();
$dispatcher = new \Symfony\Component\EventDispatcher\EventDispatcher();
$dispatcher->addListener('prophet.premodule', function (\\Symfony\\Component\\EventDispatcher\\Event $event) {
$dispatcher->addListener('prophet.premodule', function (\Symfony\Component\EventDispatcher\Event $event) {
echo "PREMODULE";
});
$dispatcher->addListener('prophet.premodule', function (\\Symfony\\Component\\EventDispatcher\\Event $event) {
$dispatcher->addListener('prophet.premodule', function (\Symfony\Component\EventDispatcher\Event $event) {
echo "POSTMODULE";
});
```
Expand Down

0 comments on commit 664983d

Please sign in to comment.