A base class that implements easy dependency injection management
package |
Default |
---|
__construct()
__get(string $name) : void
string
The property name
__set(string $name, string $value) : void
string
The property name
string
The property value
setDependencies(string $instances) : void
Once an instance is injected into a property, only instances of the same type will be allowed to modify the assignment.
string
An associative array with key / value pairs, where key is the name of a private property where the value instance will be injected.