A PSR container implementation to be used only for testing purposes.
The goal of this package is be used for testing purposes where a simple container will just do the job. Sometimes while writing unit tests you might need a container that does one simple thing. Keeping entries of services. The current packages serves this goal.
Via Composer
$ composer require-dev webthink/psr-test-container
$container = new Webthink\Container\SimpleContaner([
'service1' => new \stdClass(),
]);
$service = $container->get('service1');
The MIT License (MIT). Please see License File for more information.