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: 2023-01-05 02:38:20 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.