Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f1a6b5

Browse files
minor #26276 [Doc] Add entry for container.dumper.inline_class_loader param at UPGRADE-3.4.md and UPGRADE-4.0.md (phansys)
This PR was merged into the 3.4 branch. Discussion ---------- [Doc] Add entry for `container.dumper.inline_class_loader` param at `UPGRADE-3.4.md` and `UPGRADE-4.0.md` |Q |A | |--- |--- | |Branch |3.4 | |Bug fix? |no | |New feature? |no | |BC breaks? |no | |Deprecations?|no | |Tests pass? |yes | |Fixed tickets|#26269| |License |MIT | |Doc PR |n/a | Commits ------- d6e2b81 Add entry for `container.dumper.inline_class_loader` param at `UPGRADE-3.4.md` and `UPGRADE-4.0.md`
2 parents fe4d055 + d6e2b81 commit 8f1a6b5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

UPGRADE-3.4.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ DependencyInjection
7272
* The `ResolveDefinitionTemplatesPass` class is deprecated and will be removed in 4.0.
7373
Use the `ResolveChildDefinitionsPass` class instead.
7474

75+
* Unless you're using a custom autoloader, you should enable the `container.dumper.inline_class_loader`
76+
parameter. This can drastically improve DX by reducing the time to load classes
77+
when the `DebugClassLoader` is enabled. If you're using `FrameworkBundle`, this
78+
performance improvement will also impact the "dev" environment:
79+
80+
```yml
81+
parameters:
82+
container.dumper.inline_class_loader: true
83+
```
84+
7585
Debug
7686
-----
7787

UPGRADE-4.0.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,17 @@ DependencyInjection
236236

237237
* The `ExtensionCompilerPass` has been moved to before-optimization passes with priority -1000.
238238

239+
* In 3.4, parameter `container.dumper.inline_class_loader` was introduced. Unless
240+
you're using a custom autoloader, you should enable this parameter. This can
241+
drastically improve DX by reducing the time to load classes when the `DebugClassLoader`
242+
is enabled. If you're using `FrameworkBundle`, this performance improvement will
243+
also impact the "dev" environment:
244+
245+
```yml
246+
parameters:
247+
container.dumper.inline_class_loader: true
248+
```
249+
239250
DoctrineBridge
240251
--------------
241252

0 commit comments

Comments
 (0)