- Requires PHP v8.2+
- Requires olvlvl/symfony-dependency-injection-proxy v6.0+
-
The container proxy has been replaced by a container factory. The container is now created right away and returned. Also, the package doesn't deal with
ICanBoogie\Service
anymore and let ICanBoogie deal with it instead. The prototype methodApplication::get_container
andApplicationBindings
are removed. The event listener forBootEvent
is removed. -
The package uses the new config builder feature introduced by ICanBoogie/Config v6.0. The configuration is now an instance of
Config
and no longer an array.Before:
<?php namespace ICanBoogie; use ICanBoogie\Binding\SymfonyDependencyInjection\ContainerConfig; /* @var Application $app */ $app->configs[ContainerConfig::FRAGMENT_FOR_CONTAINER][ContainerConfig::USE_CACHING];
After:
<?php namespace ICanBoogie; use ICanBoogie\Binding\SymfonyDependencyInjection\Config; use ICanBoogie\Binding\SymfonyDependencyInjection\ConfigBuilder; /* @var Application $app */ $app->config_for_class(Config::class)->use_caching;
AppConfig
parameters are added asapp.config.*
parameters; for exampleapp.config.var
.