An Inversion of Control library that attempts to respect the Law Of Demeter and relies on as little configuration as possible.
Whitecap.IOC is a small Inversion of Control (IoC) container for PHP. IOC is designed to be unobtrusive by avoiding configuration where possible. By removing instantiation logic from the basic application, development is faster, more testable, and easier to understand.
- Adhere to the Law of Demeter
- Convention-over-configuration: should require configuration only where absolutely necessary.
- Allow configuration adapters that support other languages or syntax.
- Avoid frequent container interaction and reconfiguration during development.