Skip to content

Commit

Permalink
[Billing] Make product and price register lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain committed Jul 17, 2024
1 parent 2afa967 commit b82aacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parthenon/Resources/config/services/billing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@
</service>
<service id="Parthenon\Billing\Obol\SubscriptionFactoryInterface" alias="Parthenon\Billing\Obol\SubscriptionFactory" />

<service id="Parthenon\Billing\Obol\PriceRegister" class="Parthenon\Billing\Obol\PriceRegister">
<service id="Parthenon\Billing\Obol\PriceRegister" lazy="true" class="Parthenon\Billing\Obol\PriceRegister">
<argument type="service" id="Obol\Provider\ProviderInterface" />
</service>
<service id="Parthenon\Billing\Obol\PriceRegisterInterface" alias="Parthenon\Billing\Obol\PriceRegister" />
<service id="Parthenon\Billing\Obol\ProductRegister" class="Parthenon\Billing\Obol\ProductRegister">
<service id="Parthenon\Billing\Obol\ProductRegister" lazy="true" class="Parthenon\Billing\Obol\ProductRegister">
<argument type="service" id="Obol\Provider\ProviderInterface" />
</service>
<service id="Parthenon\Billing\Obol\ProductRegisterInterface" alias="Parthenon\Billing\Obol\ProductRegister" />
Expand Down

0 comments on commit b82aacd

Please sign in to comment.