Download the PHP package gacela-project/container without Composer
On this page you can find all versions of the php package gacela-project/container. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gacela-project/container
More information about gacela-project/container
Files in gacela-project/container
Download gacela-project/container
More information about gacela-project/container
Files in gacela-project/container
Vendor gacela-project
Package container
Short Description A minimalistic container dependency resolver
License MIT
Homepage https://gacela-project.com
Package container
Short Description A minimalistic container dependency resolver
License MIT
Homepage https://gacela-project.com
Please rate this library. Is it a good library?
Informations about the package container
Gacela Container
Installation
Usage
Get an instance by class name.
You can define a map between an interface and the concrete class that you want to create (or use) when that interface is found during the process of auto-wiring via its constructor.
Container
This container will auto-wire all inner dependencies from that class. Depending on the type of dependency it will resolve it differently:
primitive types
: it will use its default valueclasses
: it will instantiate it, and if they have dependencies, they will be resolved recursively as well.interfaces
: they will be resolved according to the bindings injected via the Container's constructor.
Example
A usage example in the Gacela Framework: AbstractClassResolver
All versions of container with dependencies
PHP Build Version
Package Version
The package gacela-project/container contains the following files
Loading the files please wait ....