diff options
author | Bernhard Schussek <bschussek@gmail.com> | 2011-04-22 17:41:21 +0200 |
---|---|---|
committer | Bernhard Schussek <bschussek@gmail.com> | 2011-04-22 17:41:21 +0200 |
commit | 89792ee93b10b6813707e7ef4a1dacfa7cdb686c (patch) | |
tree | 90adf19842cf45211ff759ad77bc698727308249 /Core/User/AdvancedUserInterface.php | |
parent | b952ac5b1486987bd27f0b63315534d0f37d5c9c (diff) | |
download | symfony-security-89792ee93b10b6813707e7ef4a1dacfa7cdb686c.zip symfony-security-89792ee93b10b6813707e7ef4a1dacfa7cdb686c.tar.gz symfony-security-89792ee93b10b6813707e7ef4a1dacfa7cdb686c.tar.bz2 |
[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.
Diffstat (limited to 'Core/User/AdvancedUserInterface.php')
0 files changed, 0 insertions, 0 deletions