Class ContainerFactory
Factory for creating the appropriate DI container based on configuration.
The container selection is controlled by Configure::read('App.container'):
- 'cake': Uses the built-in CakePHP container (wrapped in CakeContainerBridge)
- Any other value or not set: Uses the League container (default, backwards compatible)
When using the 'cake' container, applications may need to adjust code that
uses League-specific features. The basic container API (add, addShared,
get, has, addServiceProvider) works identically in both containers.
Namespace: Cake\Core