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/Form/Tests/Util
Bernhard Schussek c4e68a3295 [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class
Setting a property path like "article.tags" will now automatically try to
favor addTag() and removeTag() over setTags(), if found. If you want to
set up a property path with an irregular singular that is not detected,
you can use "|" to separate the plural from the singular form in the
path: "article.genera|genus".

Another consequence of this commit is that the MergeCollectionListener has
been simplified a lot. Forms returning an array or a collection will
always result in adders/removers being called now without having to add
this listener.
2012-04-08 12:32:17 +02:00
..
FormUtilTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
PropertyPathArrayObjectTest.php [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
PropertyPathArrayTest.php [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
PropertyPathCollectionTest.php [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
PropertyPathCustomArrayObjectTest.php [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
PropertyPathTest.php [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00