Notifications
Clear all
Topic starter
Consider below example of etc/di.xml: Magento\Filesystem\Adapter\Local Please select correct statement based on shared="false" attribute in the example:
- A . Magento\Filesystem is not shared, so all clients will retrieve separate instances of Magento\Filesystem. Also, every instance of Magento\Filesystem will get separate instance of $adapter, because it is non-shared too.
B. Magento\Filesystem is not shared, so all clients will retrieve same instances of Magento\Filesystem. Also, every instance of Magento\Filesystem will get same instance of $adapter, because it is non-shared too.
C. Magento\Filesystem is not shared, so no clients will retrieve any instances of Magento\Filesystem. Also, no instance of Magento\Filesystem will get any instance of $adapter, because it is non-shared too.
D. None of these.
Suggested Answer: A
Posted : 15/11/2022 3:26 pm