48b25f5251
* 2.8: Fix the FrameworkBundle dependencies [DoctrineBridge] Fix required guess of boolean fields [DI] don't use array_map to resolve services Remove dead code in the PropertyPath constructor [EventDispatcher] fix docblock [Process] Inherit env vars by default in PhpProcess Changed one console output style to avoid visual issues [VarDumper] Fix return type and anonymous classes dumping [FrameworkBundle] PropertyInfo support [HttpFoundation] Fixes /0 subnet handling in IpUtils [Form] Simplify DateTimeToStringTransformer Avoid unneeded catch and re-throw of the same exception. [Minor] [Serializer] Removed second license header [TwigBundle] added a Twig templates warmer when templating is disabled [HttpKernel] Remove a duplicate test for the EsiFragmentRenderer [Templating] deprecate low-level RouterHelper::generate method as it's cumbersome to use constants in templates [Templating] introduce path and url methods in php templates to be in line with twig templates [Routing] deprecate the old url generator reference type values [Routing] use constant in a test that is new in 2.7 [FrameworkBundle] Add a new ClassCache cache warmer [Validator] Add expressionLanguage to ExpressionValidator constructor Conflicts: src/Symfony/Bundle/FrameworkBundle/Resources/config/services.xml src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php src/Symfony/Bundle/FrameworkBundle/composer.json src/Symfony/Component/BrowserKit/composer.json src/Symfony/Component/ClassLoader/ClassCollectionLoader.php src/Symfony/Component/EventDispatcher/EventDispatcher.php |
||
---|---|---|
.. | ||
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/silexphp/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php
Documentation:
https://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