Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 6909c92

Browse files
Update proxies.md
1 parent c70566d commit 6909c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guides/v2.3/extension-dev-guide/proxies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Because DI configuration is used to inject a proxy, proxies can be dropped in to
7474

7575
As a practical example of a proxy, you can see the [StoreManager]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Store/Model/StoreManager.php){:target="_blank"} class and then see the generated `StoreManager` proxy class.
7676

77-
Real Example from the Magento core code, We are passing `storeManager` argument as proxy to the `Magento\Store\Model\Resolver\Store` class.
78-
Define StoreManagerInterface as proxy class by adding `Proxy` Class at the end of original class in the `di.xml` file. `Magento\Store\Model\StoreManagerInterface\Proxy`
77+
The following excerpt from the Magento code passes the `storeManager` argument as a proxy to the `Magento\Store\Model\Resolver\Store` class. The `StoreManagerInterface` model is defined as a proxy class by adding `Proxy` at the end of original class in the `di.xml` file.
78+
7979
```xml
8080
<type name="Magento\Store\Model\Resolver\Store">
8181
<arguments>

0 commit comments

Comments
 (0)