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

"Missing class" error in YAML services definition when class name is defined as parameter #242

Closed
FlyingDR opened this issue Feb 14, 2014 · 1 comment
Labels

Comments

@FlyingDR
Copy link

PHPStorm 7.1.2 on Windows 7 x64, Symfony2 plugin v0.10.44

When services for DiC are defined in YAML format and class names for services are defined as parameters - I get all parameters "Missed class" errors for every service definition. Example screenshot can be seen here and source of this file is here.

Replacing parameter with actual class name resolves problem, hovering highlighted parameter with Ctrl or Ctrl+click works properly, screenshot can be seen here

@ghost
Copy link

ghost commented Mar 31, 2015

and for example something like this
services:
person:
parent: globals
class: %parameter_defined_in_parameters.yml%Bundle\Repository\PersonRepository

it is posible some way?

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

No branches or pull requests

2 participants