Symfony bundle for eager instantiating resettable services.
For some edge cases it might be required that service gets reset regardless of being referenced by other services.
An example of that would be doctrine
Registry holding Entity Managers.
It does not reset managers unless it is being referenced by other services and therefore instantiated by the container.
This bundle by the configuration allows you to reconfigure services to be eagerly instantiated within Services Resetter.
composer require piotrkreft/eager-resettable-services-bundle
Alternatively all services can be eager loaded wth all_services
configuration flag.
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see LICENSE for more information.