[Form] [DoctrineBridge] updated changelogs after #18359

follows #18359.
This commit is contained in:
Jules Pietri 2016-04-28 13:31:04 +02:00
parent 2f562c87ff
commit 1c8dc9d06b
5 changed files with 9 additions and 7 deletions

View File

@ -39,7 +39,10 @@ Form
'choice_label' => function ($choice) {
return strtoupper($choice);
},
```
```
* Caching of the loaded `ChoiceListInterface` in the `LazyChoiceList` has been deprecated,
it must be cached in the `ChoiceLoaderInterface` implementation instead.
FrameworkBundle
---------------

View File

@ -36,6 +36,8 @@ Form
},
```
* Caching of the loaded `ChoiceListInterface` in the `LazyChoiceList` has been removed,
it must be cached in the `ChoiceLoaderInterface` implementation instead.
FrameworkBundle
---------------

View File

@ -7,6 +7,8 @@ CHANGELOG
* added "{{ value }}" message placeholder to UniqueEntityValidator
* deprecated `MergeDoctrineCollectionListener::onBind` in favor of
`MergeDoctrineCollectionListener::onSubmit`
* deprecated passing `ChoiceListFactoryInterface` as first argument of
`DoctrineChoiceLoader`'s constructor
3.0.0
-----

View File

@ -24,11 +24,6 @@ use Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface;
*/
class DoctrineChoiceLoader implements ChoiceLoaderInterface
{
/**
* @var ChoiceListFactoryInterface
*/
private $factory;
/**
* @var ObjectManager
*/
@ -78,7 +73,6 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface
// Provide a BC layer since $factory has changed
// form first to last argument as of 3.1
$this->factory = $manager;
$manager = $class;
$class = $idReader;
$objectLoader = $factory;

View File

@ -10,6 +10,7 @@ CHANGELOG
* Using callable strings as choice options in `ChoiceType` has been deprecated
and will be used as `PropertyPath` instead of callable in Symfony 4.0.
* implemented `DataTransformerInterface` in `TextType`
* deprecated caching loaded choice list in `LazyChoiceList::$loadedList`
3.0.0
-----