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

Better support for services in yaml #987

Closed
Haehnchen opened this issue Jul 28, 2017 · 1 comment
Closed

Better support for services in yaml #987

Haehnchen opened this issue Jul 28, 2017 · 1 comment
Labels

Comments

@Haehnchen
Copy link
Owner

origin https://github.com/Haehnchen/idea-php-symfony2-plugin-doc/issues/22

With Symfony 3.3 it is quite common to simplify service definitions from this

services:
    myservice:
        class: App\Whatever\MyService

to this:

services:
    App\Whatever\MyService: ~

The problem currently is that in this case the plugin does not suggest class names. it only does that for the class: definition.

@Haehnchen Haehnchen added the todo label Jul 28, 2017
@Haehnchen Haehnchen added this to the Hackday milestone Jul 28, 2017
@Haehnchen
Copy link
Owner Author

Haehnchen commented Jul 28, 2017

OK
services:
    <caret>: ~
    Foobar<caret>: ~

# currently not possible without hacks
services:
    <caret>

@Haehnchen Haehnchen added fixed and removed todo labels Jul 28, 2017
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

1 participant