Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Oct 1, 2014
1 parent a1ce4b9 commit 2db8665
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,3 @@ Event::listen('tymon.jwt.user_not_found');
// fired when the token is valid (User is passed along with event)
Event::listen('tymon.jwt.valid');
```

You can also take advantage of Laravel's [wilcard listeners](http://laravel.com/docs/4.2/events#wildcard-listeners)

```php
// example
Event::listen('tymon.jwt.*', function()
{
if (Event::firing() == 'tymon.jwt.invalid')
{
// return response
}
});
```

0 comments on commit 2db8665

Please sign in to comment.