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

Support YAML inline services #2289

Open
Bilge opened this issue Feb 29, 2024 · 0 comments
Open

Support YAML inline services #2289

Bilge opened this issue Feb 29, 2024 · 0 comments

Comments

@Bilge
Copy link

Bilge commented Feb 29, 2024

One very cool, but little known and poorly documented Symfony feature, is the ability to inline services in YAML. If a service is only going to be defined and consumed in one place, it can be inlined. This feature is officially called anonymous services and hidden away in a subsection of a document that has nothing to do with anonymous services.

Sadly, this plug-in does not support anonymous services or service inlining with code completion for the inlined service, as it does for non-inlined services.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant