Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvargiu committed Aug 31, 2019
1 parent 815c257 commit 95a82a9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Code Coverage](https://scrutinizer-ci.com/g/facile-it/sentry-module/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/facile-it/sentry-module/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/facile-it/sentry-module/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/facile-it/sentry-module/?branch=master)

This module allows integration with Raven Sentry Client into zend-framework 2/3 and zend-expressive.
This module allows integration with Sentry Client into zend-framework 2/3 and zend-expressive.

## Installation

Expand Down Expand Up @@ -48,10 +48,12 @@ return [
//...
```

Now you can use the client and the Raven client by retrieving it from the Service Locator.
Now you can use the client and the Hub by retrieving it from the Service Locator.

```php
$client = $this->getServiceLocator()->get(\Raven_Client::class);
use Sentry\HubInterface;

$hub = $this->getServiceLocator()->get(HubInterface::class);
```

### Error Handler Listener
Expand Down

0 comments on commit 95a82a9

Please sign in to comment.