Skip to content

Commit 6065b80

Browse files
author
Patrick Leckey
committed
updated syntax
1 parent bf9a6fc commit 6065b80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ The `NewrelicCountingObserver` can be used for any observable model events, incl
5252

5353
Using the observers is simple - wherever you choose to register your model observers, simply add:
5454

55-
User::observe(new \Intouch\LaravelNewrelic\Observers\NewrelicTimingObserver() );
56-
User::observe(new \Intouch\LaravelNewrelic\Observers\NewrelicCountingObserver() );
55+
```php
56+
User::observe(new \Intouch\LaravelNewrelic\Observers\NewrelicTimingObserver() );
57+
User::observe(new \Intouch\LaravelNewrelic\Observers\NewrelicCountingObserver() );
58+
```
5759

5860
... assuming you want to observe the `User` model.
5961

0 commit comments

Comments
 (0)