mirror of
https://github.com/stan220/WildcardEventDispatcher.git
synced 2026-09-08 17:28:37 +00:00
Compatibility with Symfony 3.0
This commit is contained in:
committed by
Jeremy Mikola
parent
392eb3b559
commit
0300cbb1a5
+1
-1
@@ -11,7 +11,7 @@
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"php": ">=5.3.2",
|
||||
"symfony/event-dispatcher": "~2.0"
|
||||
"symfony/event-dispatcher": "^2.3 || ^3.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "Jmikola": "src/" }
|
||||
|
||||
@@ -195,4 +195,12 @@ class WildcardEventDispatcher implements EventDispatcherInterface
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @see EventDispatcherInterface::getListenerPriority()
|
||||
*/
|
||||
public function getListenerPriority($eventName, $listener)
|
||||
{
|
||||
return $this->dispatcher->getListenerPriority($eventName, $listener);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user