Download the PHP package piotrkreft/eager-resettable-services-bundle without Composer
On this page you can find all versions of the php package piotrkreft/eager-resettable-services-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download piotrkreft/eager-resettable-services-bundle
More information about piotrkreft/eager-resettable-services-bundle
Files in piotrkreft/eager-resettable-services-bundle
Package eager-resettable-services-bundle
Short Description Flexible management of Symfony resettable services
License MIT
Informations about the package eager-resettable-services-bundle
Eager resettable services bundle
Symfony bundle for eager instantiating resettable services.
Introduction
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.
Installation
Usage
example configuration
Alternatively all services can be eager loaded wth all_services
configuration flag.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see LICENSE for more information.
All versions of eager-resettable-services-bundle with dependencies
symfony/config Version ^4.2|^5.0
symfony/dependency-injection Version ^4.0|^5.0
symfony/http-kernel Version ^4.0|^5.0