Skip to content

Commit

Permalink
grammar and language
Browse files Browse the repository at this point in the history
  • Loading branch information
= Geo = committed Jul 18, 2015
1 parent 1f02ce5 commit db14e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Of course, manually creating the files for each event and listener is cumbersome
<a name="defining-events"></a>
## Defining Events

An event class is simply a data container which holds the information related to the event. For example, let's assume our generated `PodcastWasPurchased` event receives a [Eloquent ORM](/docs/{{version}}/eloquent) object:
An event class is simply a data container which holds the information related to the event. For example, let's assume our generated `PodcastWasPurchased` event receives an [Eloquent ORM](/docs/{{version}}/eloquent) object:

<?php

Expand Down Expand Up @@ -121,7 +121,7 @@ Your event listeners may also type-hint any dependencies they need on their cons

#### Stopping The Propagation Of An Event

Sometimes, you may wish to stop the propagation of an event to other listeners. You may do so using by returning `false` from your listener's `handle` method.
Sometimes, you may wish to stop the propagation of an event to other listeners. You may do so by returning `false` from your listener's `handle` method.

<a name="queued-event-listeners"></a>
### Queued Event Listeners
Expand Down

0 comments on commit db14e14

Please sign in to comment.