Why & How to Implement Virtual Types in Magento 2?
Virtual Types in Magento 2 is something that is not an actual class implemented anywhere in our module file system. Rather it is a configured class that is generated automatically for us by Magento 2 code generation library. Yes, we have to just configure a Virtual Type definition in our di.xml file and run the