This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 1c11d81611 made all event listeners lazy loaded
* 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.
2011-01-23 18:07:05 +01:00
..
BrowserKit normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Console normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
CssSelector normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
DependencyInjection [DependencyInjection] fixed strict flag propagation to aliases 2011-01-22 16:05:51 +01:00
DomCrawler if( -> if ( 2011-01-19 07:20:27 +01:00
EventDispatcher [Standards] Changing many instances of "boolean" to "Boolean". 2011-01-21 09:53:24 +01:00
Finder normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Form [Form] Adding PHPDoc to ChoiceField and removing two unused options. 2011-01-22 20:05:10 +01:00
HttpFoundation [HttFoundation] extracted FileBag, ServerBag, fixed HeaderBag::add(), updated Request test 2011-01-23 07:40:31 +01:00
HttpKernel made all event listeners lazy loaded 2011-01-23 18:07:05 +01:00
Locale normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Process normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Routing [Routing] fixed imports from the current directory 2011-01-21 12:06:06 +01:00
Security fixes else -> } else 2011-01-19 07:20:23 +01:00
Serializer [Serializer] Added initial version of the Serializer component 2011-01-23 12:34:47 +01:00
Templating [Standards] Changing many instances of "boolean" to "Boolean". 2011-01-21 09:53:24 +01:00
Translation normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Validator [Standards] Changing many instances of "boolean" to "Boolean". 2011-01-21 09:53:24 +01:00
Yaml [Standards] Changing many instances of "boolean" to "Boolean". 2011-01-21 09:53:24 +01:00