Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DX] Make services private #17276

Merged
merged 29 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Bundle tests
# Conflicts:
#	src/Sylius/Bundle/CoreBundle/Resources/config/services.xml
  • Loading branch information
mpysiak committed Oct 22, 2024
commit c76a76f10d65635747ef341f7e79bef23bf70f99
4 changes: 2 additions & 2 deletions src/Sylius/Bundle/CoreBundle/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@
<argument type="string">%sylius.shop_user.token.password_reset.ttl%</argument>
</service>

<service id="sylius.resolver.customer" class="Sylius\Bundle\CoreBundle\Resolver\CustomerResolver">
<service id="sylius.resolver.customer" class="Sylius\Bundle\CoreBundle\Resolver\CustomerResolver" public="true">
<argument type="service" id="sylius.factory.customer" />
<argument type="service" id="sylius.provider.customer" />
</service>
<service id="Sylius\Bundle\CoreBundle\Resolver\CustomerResolverInterface" alias="sylius.resolver.customer" />
<service id="Sylius\Bundle\CoreBundle\Resolver\CustomerResolverInterface" alias="sylius.resolver.customer" public="true" />

<service id="sylius.registry.statistics.orders_totals_providers" class="Sylius\Component\Core\Statistics\Registry\OrdersTotalsProvidersRegistry">
<argument type="tagged_iterator" index-by="type" tag="sylius.statistics.orders_totals_provider" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,22 @@
</service>
<service id="Sylius\Bundle\CoreBundle\Mailer\ResetPasswordEmailManagerInterface" alias="sylius.mailer.reset_password_email_manager" />

<service id="sylius.mailer.account_registration_email_manager"
class="Sylius\Bundle\CoreBundle\Mailer\AccountRegistrationEmailManager"
<service
id="sylius.mailer.account_registration_email_manager"
class="Sylius\Bundle\CoreBundle\Mailer\AccountRegistrationEmailManager"
public="true"
>
<argument type="service" id="sylius.email_sender" />
</service>
<service id="Sylius\Bundle\CoreBundle\Mailer\AccountRegistrationEmailManagerInterface" alias="sylius.mailer.account_registration_email_manager" />
<service id="Sylius\Bundle\CoreBundle\Mailer\AccountRegistrationEmailManagerInterface" alias="sylius.mailer.account_registration_email_manager" public="true" />

<service id="sylius.mailer.account_verification_email_manager"
class="Sylius\Bundle\CoreBundle\Mailer\AccountVerificationEmailManager"
<service
id="sylius.mailer.account_verification_email_manager"
class="Sylius\Bundle\CoreBundle\Mailer\AccountVerificationEmailManager"
public="true"
>
<argument type="service" id="sylius.email_sender" />
</service>
<service id="Sylius\Bundle\CoreBundle\Mailer\AccountVerificationEmailManagerInterface" alias="sylius.mailer.account_verification_email_manager" />
<service id="Sylius\Bundle\CoreBundle\Mailer\AccountVerificationEmailManagerInterface" alias="sylius.mailer.account_verification_email_manager" public="true" />
</services>
</container>