This component implements dependency injection pattern.
Manager can inject properties, configure objects and resolve depenencies while calling methods.
Using composer.
{
"require": {
"cti/di": "*"
}
}
- Configuration used by Manager while create an instance
- Manager creates instance injecting all dependencies
- Service locator works on top of Manager
See the doc
directory for more detailed documentation.