Skip to content

Commit

Permalink
Add lazy load proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Aug 4, 2024
1 parent 4241fbd commit 81482bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
</type>
<type name="Opengento\Gdpr\Model\Erase\NotifyEraseEntityManagement">
<arguments>
<argument name="eraseManagement" xsi:type="object">Opengento\Gdpr\Model\EraseEntityManagement</argument>
<argument name="eraseManagement" xsi:type="object">Opengento\Gdpr\Model\EraseEntityManagement\Proxy</argument>
<argument name="notifierRepository" xsi:type="object">Opengento\Gdpr\Model\Erase\NotifierRepository\Proxy</argument>
</arguments>
</type>
<preference for="Opengento\Gdpr\Api\EraseSalesInformationInterface" type="Opengento\Gdpr\Model\Erase\EraseSalesInformation"/>
Expand All @@ -31,7 +32,8 @@
<preference for="Opengento\Gdpr\Api\ExportEntityCheckerInterface" type="Opengento\Gdpr\Model\ExportEntityChecker"/>
<type name="Opengento\Gdpr\Model\Export\NotifyExportEntityManagement">
<arguments>
<argument name="exportManagement" xsi:type="object">Opengento\Gdpr\Model\ExportEntityManagement</argument>
<argument name="exportManagement" xsi:type="object">Opengento\Gdpr\Model\ExportEntityManagement\Proxy</argument>
<argument name="notifierRepository" xsi:type="object">Opengento\Gdpr\Model\Export\NotifierRepository\Proxy</argument>
</arguments>
</type>
<!-- Service Contract -->
Expand Down

0 comments on commit 81482bf

Please sign in to comment.