Download the PHP package gacela-project/resolver without Composer
On this page you can find all versions of the php package gacela-project/resolver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gacela-project/resolver
More information about gacela-project/resolver
Files in gacela-project/resolver
Download gacela-project/resolver
More information about gacela-project/resolver
Files in gacela-project/resolver
Vendor gacela-project
Package resolver
Short Description A minimalistic container dependency resolver
License MIT
Homepage https://gacela-project.com
Package resolver
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 resolver
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 resolver with dependencies
PHP Build Version
Package Version
The package gacela-project/resolver contains the following files
Loading the files please wait ....