Dependency injection

Pacemaker Import Community components are not Dependency injection (DI) dependent but can be connected using Dependency injection (DI).

We implemented the Pacemaker Import Community Console Tool as a reference application; the Symfony DI container gets used to build the application.

We recommend using Symfony and Symfony DI to write your component or application to ensure an easy start.

Each core library provides the necessary Symfony DI configuration files in the <namespace>/<component>/symfony/Resources/config/services.xml.

The Symfony DI can get used to building your application; see reference application.

The Pacemaker Import Community Console Tool parses the library files at startup, loads, initializes, and injects all the relevant classes depending on the Magento edition you are using.

For configuration the Symfony service IDs will be used instead of the real class names