New answers tagged

2

Yes there is a bit of different, model->getFieldName() is a magic method so this will be public and in Magento 2 we can create plugins to manipulate output of public methods (i.e) Lets assume value of field_name is foo there is plugin(https://devdocs.magento.com/guides/v2.3/extension-dev-guide/plugins.html) created which changes the value to bar model->...


Top 50 recent answers are included