2

I was wondering what is the purpose preference tag and the use for the tag in magento?

<preference for="Magento\Framework\App\Config\Storage\WriterInterface" type="Magento\Framework\App\Config\Storage\Writer" />
| improve this question | | | | |
2

Object Magento\Framework\App\Config\Storage\Writer will rewrite object Magento\Framework\App\Config\Storage\WriterInterface.

You can read the following link to more understand: http://alanstorm.com/magento_2_object_manager_preferences/

| improve this answer | | | | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.