Virtual types are a way to inject different dependencies into existing PHP classes without affecting other classes and without having to create a new class file.
Category: Magento 2
Caching Explain in Magento 2
We all know the importance of caching in web development and how it affects the customer journey on your website. Caching helps to improve the server response and helps you to improve conversion rates
Custom Cache Type
In cache.xml file we need to pass two parameters i.e. “label” and the “description” this parameters use to display label and the cache description on cache management page i.e. System > Tools > Cache Management
Upgrade Magento 2
Hello Everyone, Welcome to my blog. First of all for those people who don’t know anything about me please check…
Model, Resource Model and Collections
Every model class inherits from Magento\Framework\Model\AbstractModel class, which further extends from \Magento\Framework\DataObject. DataObject class allows us to use some important functions like setData() and getData()