17 Commits

Author SHA1 Message Date
Wouter de Jong
8266c81fce [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Alexander M. Turek
79002e4e4c [Form] Add missing return types to interfaces 2023-02-17 09:38:29 +01:00
Nicolas Grekas
c3d0fd33ed [Form] add union types 2021-07-07 15:31:34 +02:00
vudaltsov
03057d29b0 [Form] Changed DataMapperInterface $forms parameter type to \Traversable 2020-12-05 14:49:49 +01:00
Valentin
c46149559a [Form] Add parameter type declarations 2019-08-13 09:00:05 +02:00
Jules Pietri
8dad268261 [Form] various minor fixes 2019-04-06 15:44:06 +02:00
Dariusz
8e7d8f3d3e [CS] Apply phpdoc_annotation_without_dot 2017-09-11 13:37:52 -07:00
MetalArend
70607a7d3f Add \Traversable typehint to phpdoc 2017-04-07 10:05:02 -07:00
Fabien Potencier
19154a6317 removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
Bernhard Schussek
d351ca033e [Form] Moved parent data inheritance from data mappers to Form 2013-04-19 10:09:37 +02:00
Fabien Potencier
57d3b508c1 fixed CS 2012-07-09 14:54:20 +02:00
Bernhard Schussek
130ec5056c [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
Bernhard Schussek
d660a9dc90 [Form] Fixed: Virtual forms are ignored when prepopulating a form 2012-05-23 14:46:45 +02:00
Tobias Schultze
fae4396a8a [Form] fix PhpDoc 2012-05-21 04:26:59 +02:00
Fabien Potencier
66d0f1b6d4 fixed CS 2011-06-08 12:16:48 +02:00
Fabien Potencier
66cc1f0065 fixed email 2011-04-24 13:59:46 +02:00
Bernhard Schussek
fc5c541bc5 [Form] Reorganized code into "form extensions"
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.

    new FormFactory(array(
        new CoreExtension($validator, $storage),
        new CsrfExtension($csrfProvider),
        new DoctrineOrmExtension($em),
    ));

Together with a few upcoming commits this mechanism will make

 * extension of the form framework in bundles and
 * usage of the forms outside of Symfony2

much easier.
2011-04-22 17:41:21 +02:00