jamseyp / container

A simple implmentation of a PSR-11 Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Specter Container.

A simple implmentation of a PSR-11 Container.

Usage:

$container = new Container();

$container->set('foo',new DateTime());

if($container->has('foo'){
    $today = $container->get('foo')
}

About

A simple implmentation of a PSR-11 Container

License:MIT License


Languages

Language:PHP 100.0%