idea-php-symfony2-plugin
idea-php-symfony2-plugin copied to clipboard
getRepository() handling does not appear to support "self::class" and "__CLASS__"
Attempting to use a repository function within a Doctrine Lifecycle Callback, PhpStorm cannot find repository functions when getting the repository for self::class (or __CLASS__).
It does work when using ClassName::class, but that is less than ideal from within the same class.
Here is a screenshot to illustrate:
I could see not supporting static::class as it is resolved at runtime, but it would be nice if self::class was supported.