2017 © Pedro Peláez
 

library psr-test-container

A PSR container implementation to be used only for testing

image

webthink/psr-test-container

A PSR container implementation to be used only for testing

  • Tuesday, June 26, 2018
  • by gmponos
  • Repository
  • 1 Watchers
  • 2 Stars
  • 440 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 71 % Grown

The README.md

A Simple PSR Container for Testing.

Build Status, (*1)

A PSR container implementation to be used only for testing purposes., (*2)

Goal

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., (*3)

Install

Via Composer, (*4)

$ composer require-dev webthink/psr-test-container

Usage

$container = new Webthink\Container\SimpleContaner([
    'service1' => new \stdClass(),
]);
$service = $container->get('service1');

Credits

License

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

The Versions

26/06 2018

dev-master

9999999-dev https://github.com/webthinkgr/psr-test-container

A PSR container implementation to be used only for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

psr container psr-11 container-interop container-interface

03/08 2017

v1.0.0

1.0.0.0 https://github.com/webthinkgr/psr-test-container

A PSR container implementation to be used only for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

psr container psr-11 container-interop container-interface