Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Remove $priority argument from ListenerAggregate interface
Browse files Browse the repository at this point in the history
- Broke code, and is optional anyways
  • Loading branch information
weierophinney committed Feb 23, 2012
1 parent 60ab848 commit e06dc2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ListenerAggregate.php
Expand Up @@ -41,10 +41,13 @@ interface ListenerAggregate
/**
* Attach one or more listeners
*
* Implementors may add an optional $priority argument; the EventManager
* implementation will pass this to the aggregate.
*
* @param EventCollection $events
* @param null|int $priority Optional priority "hint" to use when attaching listeners
*/
public function attach(EventCollection $events, $priority = null);
public function attach(EventCollection $events);

/**
* Detach all previously attached listeners
Expand Down

0 comments on commit e06dc2f

Please sign in to comment.