8000 [Doc] Add entry for `container.dumper.inline_class_loader` param at `UPGRADE-3.4.md` and `UPGRADE-4.0.md` by phansys · Pull Request #26276 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Doc] Add entry for container.dumper.inline_class_loader param at UPGRADE-3.4.md and UPGRADE-4.0.md #26276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions UPGRADE-3.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
11 changes: 11 additions & 0 deletions UPGRADE-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------

Expand Down
0