symfony - PhpStorm does not recognise services defined in yml files -
according symfony plugin documentation phpstorm should able recognise services when using service container:
- references services in containerinterface::get()
- detect containerinterface::get() result type
i have phpstorm 2016.3.2, symfony plugin 0.13.134, symfony plugin enabled project, phpstorm unable recognise services defined in yml file in custom symfony bundle.
when referencing services in yml files @my.service.id
ide raises warning: "missing service". same problem occurs when requesting services containerinterface::get('my.service.id')
.
all works fine services defined in symfony core, fails work when comes own services.
apparently ide able recognise event listeners defined inside bundle's src/[bundle]/resource/config/event_listeners.yml
without problem, yet can't recognise services defined in src/[bundle]/resource/config/services.yml
check on settings->languages & frameworks->symofony
configuration paths correct.
Comments
Post a Comment