Why PHPStorm can't determine the class?

Why PHPStorm does not define some classes? For example, here so.

0fcfa57204dd4278b27cde8bce89d0bc.png

Although the code is working fine.
July 12th 19 at 17:35
1 answer
July 12th 19 at 17:37
Solution
Helps me this:
File > Invalidate Caches
Thanks a lot, helped me. And the beginning is a little annoying. - darrion commented on July 12th 19 at 17:40

Find more questions by tags PHPPhpStorm