alireaza/container

The PSR-11 Container.

Fund package maintenance!
Linkedin

1.2.0 2022-03-05 00:38 UTC

This package is auto-updated.

Last update: 2024-10-05 06:22:54 UTC


README

Install

Via Composer

$ composer require alireaza/container

Usage

use AliReaza\Container\Container;

$container = new Container();

$container->containers['foo'] = 'bar';

$container->get('foo'); // bar

License

The MIT License (MIT). Please see License File for more information.