How argument and item node work in di.xml in Magento 2?
I just wanted to know in deeply how argument, type , virtual type and item work in di.xml
Auto Added by WPeMatico
I just wanted to know in deeply how argument, type , virtual type and item work in di.xml
Example: http://localhost/admin/admin/user/edit/user_id/5/key/db1082c352e51cfb817ce0335dd060cf6e953568daf2da25cca24eadb04dc884/ I want to return ‘db1082c352e51cfb817ce0335dd060cf6e953568daf2da25cca24eadb04dc884’ from within a ViewModel method.
I use soap to do some calls to a remote server, php has changed method signature for __doRequest between php 7.4 & 8.x, is there any di.xml tag that can conditionally change the loaded class based on the php version?