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

Add support for optional service referencesin YAML services configuration #194

Closed
FlyingDR opened this issue Dec 9, 2013 · 1 comment
Closed

Comments

@FlyingDR
Copy link

FlyingDR commented Dec 9, 2013

Symfony have support for special syntax for defining optional service references, but currently (in v0.10.34) there seems to be no support for them.

When defining service as:

my_service:
  class: My\Service
  arguments: [@doctrine.orm.entity_manager, @?logger]

PHPStorm 7.0 reports of "Missing service" at @?logger, problem report disappears after removing ? from reference definition.

@Haehnchen
Copy link
Owner

its fixed on our side. but some error on intellj. see external issue http://youtrack.jetbrains.com/issue/IDEA-118077

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

2 participants