forked from https://github.com/symfony/symfony
The three notification methods do not return the Event instance anymore. notify() does not return anything notifyUntil() returns the returned value of the event that has processed the event filter() returns the filtered value Upgrading your listeners: Listeners for notify() and filter() events: nothing to change Listeners for notifyUntil() events: Before: $event->setReturnValue('foo'); return true; After: $event->setProcessed(); return 'foo'; If you notify events, the processing also need to be changed: For filter() notifications: the filtered value is now available as the returned value of the filter() method. For notifyUntil() notifications: Before: $event = $dispatcher->notifyUntil($event); if ($event->isProcessed()) { $ret = $event->getReturnValue(); // do something with $ret } After: $ret = $dispatcher->notifyUntil($event); if ($event->isProcessed()) { // do something with $ret } |
||
---|---|---|
src/Symfony | ||
tests | ||
.gitignore | ||
autoload.php.dist | ||
install_vendors.sh | ||
LICENSE | ||
phpunit.xml.dist | ||
README | ||
update_vendors.sh |
README ====== What is Symfony2? ----------------- Symfony2 is a PHP 5.3 full-stack web framework. It is written with speed and flexibility in mind. It allows developers to built better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers. High Performance ---------------- Built with performance in mind, Symfony2 is one of the fastest PHP frameworks. It is up to 3 times faster than symfony 1.4 or Zend Framework 1.10 and consumes half the memory. Requirements ------------ Symfony2 is only supported on PHP 5.3.2 and up. Documentation ------------- Symfony 2.0 is still in the early stages of development, but the "[Quick Tour][1]" tutorial can get you started fast. The "Quick Tour" tutorial barely scratches the surface of Symfony 2.0 but it gives you a first feeling of the framework. If, like us, you think that Symfony2 can help speed up your development and take the quality of your work to the next level, visit the official [Symfony2 website][2] to learn more. [1]: http://symfony-reloaded.org/learn [2]: http://symfony-reloaded.org/