6b738fd700
* 2.8: (61 commits) [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups [2.6][Translator] Extend, refactor and simplify Translator tests. [VarDumper] Allow preserving a subset of cut arrays [Console] Bind the closure (code) to the Command if possible [VarDumper] Added support for SplFileObject [VarDumper] Added support for SplFileInfo Update DebugClassLoader.php inject asset packages in assets helper service [travis] Do not exclude legacy tests on 2.7 [HttpFoundation] remove getExtension method [2.6][Translation] fix legacy tests. [Form] Removed remaining deprecation notices in the test suite [Form] Moved deprecation notice triggers to file level [Debug] Map PHP errors to LogLevel::CRITICAL [FrameworkBundle][Server Command] add address port number option. [Routing][DependencyInjection] Support .yaml extension in YAML loaders [DX] improve file loader error for router/other resources in bundle [FrameworkBundle] Initialize translator with the default locale. [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors [2.7][Translation] remove duplicate code for loading catalogue. ... Conflicts: composer.json src/Symfony/Bridge/Swiftmailer/composer.json src/Symfony/Component/Console/Helper/DialogHelper.php src/Symfony/Component/Debug/ErrorHandler.php src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php src/Symfony/Component/Form/Extension/HttpFoundation/EventListener/BindRequestListener.php src/Symfony/Component/Locale/composer.json |
||
---|---|---|
.. | ||
ChoiceList | ||
Exception | ||
Extension | ||
Guess | ||
Resources | ||
Test | ||
Tests | ||
Util | ||
.gitignore | ||
AbstractExtension.php | ||
AbstractRendererEngine.php | ||
AbstractType.php | ||
AbstractTypeExtension.php | ||
Button.php | ||
ButtonBuilder.php | ||
ButtonTypeInterface.php | ||
CallbackTransformer.php | ||
CHANGELOG.md | ||
ClickableInterface.php | ||
composer.json | ||
DataMapperInterface.php | ||
DataTransformerInterface.php | ||
Form.php | ||
FormBuilder.php | ||
FormBuilderInterface.php | ||
FormConfigBuilder.php | ||
FormConfigBuilderInterface.php | ||
FormConfigInterface.php | ||
FormError.php | ||
FormErrorIterator.php | ||
FormEvent.php | ||
FormEvents.php | ||
FormExtensionInterface.php | ||
FormFactory.php | ||
FormFactoryBuilder.php | ||
FormFactoryBuilderInterface.php | ||
FormFactoryInterface.php | ||
FormInterface.php | ||
FormRegistry.php | ||
FormRegistryInterface.php | ||
FormRenderer.php | ||
FormRendererEngineInterface.php | ||
FormRendererInterface.php | ||
Forms.php | ||
FormTypeExtensionInterface.php | ||
FormTypeGuesserChain.php | ||
FormTypeGuesserInterface.php | ||
FormTypeInterface.php | ||
FormView.php | ||
LICENSE | ||
NativeRequestHandler.php | ||
phpunit.xml.dist | ||
PreloadedExtension.php | ||
README.md | ||
RequestHandlerInterface.php | ||
ResolvedFormType.php | ||
ResolvedFormTypeFactory.php | ||
ResolvedFormTypeFactoryInterface.php | ||
ResolvedFormTypeInterface.php | ||
ReversedTransformer.php | ||
SubmitButton.php | ||
SubmitButtonBuilder.php | ||
SubmitButtonTypeInterface.php |
Form Component
Form provides tools for defining forms, rendering and mapping request data to related models. Furthermore it provides integration with the Validation component.
Resources
Silex integration:
https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php
Documentation:
http://symfony.com/doc/3.0/book/forms.html
Resources
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Form/
$ composer install
$ phpunit