Skip to content

Commit

Permalink
Merge pull request laravel#1689 from geo4orce/5.1
Browse files Browse the repository at this point in the history
minor English language update / typo
  • Loading branch information
taylorotwell committed Jul 19, 2015
2 parents 0daea50 + 22d9c4d commit 2e8ac2a
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 2e8ac2a

Please sign in to comment.