1c11d81611
* The register() method on all listeners has been removed * Instead, the information is now put directly in the DIC tag For instance, a listener on core.request had this method: public function register(EventDispatcher $dispatcher, $priority = 0) { $dispatcher->connect('core.response', array($this, 'filter'), $priority); } And this tag in the DIC configuration: <tag name="kernel.listener" /> Now, it only has the following configuration: <tag name="kernel.listener" event="core.response" method="filter" priority="0" /> The event and method attributes are now mandatory. |
||
---|---|---|
.. | ||
Component |