Skip to content

[Messenger] add XML and PHP code blocks #10044

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
Jul 12, 2018
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jul 11, 2018

No description provided.


# Step 1: a factory class is registered as a service with the required
# dependencies to instantiate a middleware
doctrine.orm.messenger.middleware_factory.transaction:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this but ... is there any reason for keep using snake-case IDs for services instead of FQCN IDs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, potentially there could be other service for this class too. If they all used the class name as the service id would cause conflicts. So I think it's better to use custom IDs for these services.

@javiereguiluz
Copy link
Member

Thank you Christian.

@javiereguiluz javiereguiluz merged commit e022215 into symfony:4.1 Jul 12, 2018
javiereguiluz added a commit that referenced this pull request Jul 12, 2018
This PR was merged into the 4.1 branch.

Discussion
----------

[Messenger] add XML and PHP code blocks

Commits
-------

e022215 add XML and PHP code blocks
@xabbuh xabbuh deleted the pr-9774 branch July 12, 2018 07:12
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.

3 participants