[extension] kptlex/container

DI Container ¶

PSR-11 dependency injection container.

This repository contains two containers:

CompositeContainer.

This is a PSR-11 container that works as a link between many other PSR-11 containers.

YiiContainer.

This is a PSR-11 container that works as a link to Yii2 DI container.

Installation ¶

Use composer.

composer require kptlex/container

Usage ¶

Abo
Source