Type hint to interface
Type hint to interface
Add serviceFactory declaration