Factory.php
registerInstance($name, $instance)
Register a shared instance with a given name.
addInterfaces(array $interfaces)
Add interfaces that instances must implement.
getInstanceOf($class, $dynamicConfiguration=[])
Create an instance of a class.
getNewInstance($name, $dynamicConfiguration=[])
Get a new instance from the configuration.
getInstance($name, $dynamicConfiguration=[])
Get an instance from the configuration.