Closed msmakouz closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
85aa4bb
) 89.15% compared to head (9b1b16e
) 89.19%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What was changed
Added the
Spiral\Boot\Bootloader\BootloaderRegistryInterface
interface and the implementationSpiral\Boot\Bootloader\BootloaderRegistry
to streamline the bootloader registration process. This change allows for a more efficient and flexible bootloader registration mechanism within the Spiral Framework.Customization
In situations where customization is needed, you have the option to create your own implementation of the
BootloaderRegistryInterface
:Create a new class that implements the
Spiral\Boot\Bootloader\BootloaderRegistryInterface
. Let's call itCustomBootloaderRegistry
in this example.Instantiate a container in your app.php.
Register your custom implementation in the container: