Project Code to add Symfony's DependencyInjection container

dev-main 2024-01-16 13:31 UTC

This package is auto-updated.

Last update: 2024-10-16 15:10:54 UTC


README

License: MIT

This package integrates Symfony's DependencyInjection component into Spryker.

Installation

composer require spryker-project/di

Configuration

To enable the code you need to update your config_default.php file:

$config[KernelConstants::CORE_NAMESPACES] = [
    'SprykerProject',
    'Spryker',
];

This will enable the code in your project. SprykerProject files will now be loaded before Spryker files.