Skip to content

Conversation

@lyrixx
Copy link
Member

@lyrixx lyrixx commented May 30, 2024

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues
License MIT

I used this class for ages! I moved many of my internal "hack" to symfony (messenger, etc)
But there are still a lot of use cases where we could need this class:

  • Custom worker that does not use messenger
  • import/export command that process a lot of rows (doctrine/dbal leak by default, even in prod env)
  • etc

Anyway, I used this class, and I never noticed it was internal. And today, I showed this class to @pyrech
and its IDE displayed the class in strikethrough! (vscode does not do that...)

So I think it's time to open this class.

@lyrixx lyrixx force-pushed the open-service-resetter branch from 78b308e to 6b1032f Compare June 3, 2024 10:04
@lyrixx lyrixx changed the title [HttpKernel] Remove @internal flag from ServicesResetter [HttpKernel] Remove @internal flag and add @final to ServicesResetter Jun 3, 2024
@fabpot
Copy link
Member

fabpot commented Jun 3, 2024

Thank you @lyrixx.

@fabpot fabpot merged commit b3508ee into symfony:7.2 Jun 3, 2024
@lyrixx lyrixx deleted the open-service-resetter branch June 3, 2024 11:07
nicolas-grekas added a commit that referenced this pull request Jun 30, 2025
…rStark)

This PR was squashed before being merged into the 8.0 branch.

Discussion
----------

[HttpKernel] Make `ServicesResetter` class `final`

| Q             | A
| ------------- | ---
| Branch?       | 8.0
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | --
| License       | MIT

Follows
* #57246

Commits
-------

5fff774 [HttpKernel] Make `ServicesResetter` class `final`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants