I have a strange problem with PhpStorm and Symfony plugin. After having worked fine for many months, suddenly it won't recognize any Symfony method. A simple $this->getDoctrine()->getManager() won't work, since PhpStorm says "Method getDoctrine() not found". Neither $this->get("whatever").
What is the cause and how can I solve this?
File | Invalidate Caches...and restart IDE? It's a first thing to try in "suddenly cannot resolve method" cases.AbstractController?