Add support for custom factories
The Object Framework should support custom factories which are used whenever a object of a certain type needs to be instantiated.
Such a factory could be defined / configured in the Objects configuration like this:
Now whenever a "CacheInterface" object type needs to be intantiated, the Cache Factory's create() method will be called. Of course the arguments for the create() method still have to be defined:
$myCache = $this->objectFactory->create('F3\FLOW3\Cache\CacheInterface', 'cacheId', 'F3\FLOW3\Cache\VariableCache', 'F3\FLOW3\Cache\Backend\File');