An Adobe Commerce developer is developing a custom module. As part of their implementation they have decided that all instances of their Custom\Module\Model\Example class should receive a new instance of Magento\Filesystem\Adapter\Local.
How would the developer achieve this using di. xml?
A)

B)

C)

The developer can achieve this by adding the following configuration to their di.xml file:
XML
<config>
<component name='CustomModuleModelExample' factory='CustomModuleModelExampleFactory'>
</component>
</config>
This configuration will ensure that all instances of the CustomModuleModelExample class will receive a new instance of the MagentoFilesystemAdapterLocal class.
Laine
4 days agoJose
9 days agoSunny
14 days agoLaine
20 days agoJose
25 days agoSunny
30 days agoLaine
1 month agoSunny
1 month agoLaine
2 months agoYoko
2 months agoCiara
2 months agoMelodie
2 months agoEulah
4 months agoCurt
4 months agoEmmanuel
4 months agoDenae
5 months agoIzetta
5 months agoSkye
5 months ago