Skip to content

[DependencyInjection] Typo on how default defaultIndexMethod work #17342

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

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

Kleinast
Copy link
Contributor

Following the documentation, I was trying the static method getDefaultIndexName() to have named tagged service and it didn't work. I looked at the code here in how I understand it, you have to declare the index_by attribute to be able to use the getDefault****Name() method.

I tryed to improve the documentation, but I think it could be better explained that what I did.
It is the same logique for the getDefault***Priority() method.

@carsonbot carsonbot added this to the 5.4 milestone Oct 12, 2022
@carsonbot carsonbot changed the title Typo on how default defaultIndexMethod work [DependencyInjection] Typo on how default defaultIndexMethod work Jun 15, 2023
@javiereguiluz javiereguiluz merged commit 16b2bca into symfony:5.4 Jun 15, 2023
@javiereguiluz
Copy link
Member

This has been finally merged! Thanks Bastien.

@Kleinast Kleinast deleted the patch-2 branch June 15, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants