Closed msmakouz closed 11 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
67363ef
) 89.40% compared to head (6c607b6
) 89.14%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This Pull Request improves the way
Spiral\Prototype\PrototypeRegistry
initializes. Previously, it was initialized upon application bootstrap, even when not in use, leading to inefficient resource consumption. The change introducedSpiral\Prototype\Config\PrototypeConfig
, which serves as a central configuration file for managing bindings. Third-party packages can now easily contribute their own bindings to this configuration via bootloader.The PrototypeRegistry is now created only when first requested from the container and utilizes the bindings defined in PrototypeConfig.