solution10/managed-instance

A simple trait to allow classes to manage their own instances. DI on the cheap.

v1.0.0 2014-11-07 20:27 UTC

This package is not auto-updated.

Last update: 2024-11-19 02:13:51 UTC


README

Allows classes to manage instances of themselves either as singletons or "lazy DI" containers.

Build Status Coverage Status

Latest Stable Version Total Downloads License

Installation

Installation is via composer, in the usual manner:

{
    "require": {
        "solution10/managed-instance": "~1.0"
    }
}

Documentation

Userguide

Check out the Wiki

(or the /docs folder in the repo)

API Docs

From a checkout of this project, run:

$ make

This will create an api/ folder for you to peruse.

PHP Requirements

  • PHP >= 5.4

Author

Alex Gisby: GitHub, Twitter

License

MIT

Contributing

Contributors Notes