unknownrori/container

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple container package that implement PSR-11 Container

0.9 2022-07-02 07:09 UTC

This package is auto-updated.

Last update: 2023-03-24 10:18:11 UTC


README

Container Package

A simple container that implement PSR-11 Container

Installation

composer require unknownrori/container

Usage

use UnknownRori\Container\Container;

$container = new Container();

$container->set('TestContainer', 'instance or something');

var_dump($container->get('TestContainer'));