Add entry for `container.dumper.inline_class_loader` param at `UPGRADE-3.4.md` and `UPGRADE-4.0.md`

This commit is contained in:
Javier Spagnoletti 2018-02-23 00:16:20 -03:00
parent 6628318b29
commit d6e2b8188c
2 changed files with 21 additions and 0 deletions

View File

@ -72,6 +72,16 @@ DependencyInjection
* The `ResolveDefinitionTemplatesPass` class is deprecated and will be removed in 4.0.
Use the `ResolveChildDefinitionsPass` class instead.
* Unless you're using a custom autoloader, you should enable the `container.dumper.inline_class_loader`
parameter. This can drastically improve DX by reducing the time to load classes
when the `DebugClassLoader` is enabled. If you're using `FrameworkBundle`, this
performance improvement will also impact the "dev" environment:
```yml
parameters:
container.dumper.inline_class_loader: true
```
Debug
-----

View File

@ -236,6 +236,17 @@ DependencyInjection
* The `ExtensionCompilerPass` has been moved to before-optimization passes with priority -1000.
* In 3.4, parameter `container.dumper.inline_class_loader` was introduced. Unless
you're using a custom autoloader, you should enable this parameter. This can
drastically improve DX by reducing the time to load classes when the `DebugClassLoader`
is enabled. If you're using `FrameworkBundle`, this performance improvement will
also impact the "dev" environment:
```yml
parameters:
container.dumper.inline_class_loader: true
```
DoctrineBridge
--------------