add explicit auto-resolution array: $di->resolve['TypeHint'] = $di->lazyGet(...);