mirror of
https://github.com/stan220/WildcardEventDispatcher.git
synced 2026-09-08 16:28:35 +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",
|
"minimum-stability": "dev",
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.2",
|
"php": ">=5.3.2",
|
||||||
"symfony/event-dispatcher": "~2.0"
|
"symfony/event-dispatcher": "^2.3 || ^3.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Jmikola": "src/" }
|
"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