Fake fields/methods in PHP classes?
Hello Community
I'm using PHP magic methods to implement pseudo multiple inheritance. The problem is, PHPStorm doesn't know about it and cannot tell that a valid method is not an error (since it's not declared in the class).
Is there a way to "document" fields and methods to PHPStorm so they would be considered part of the class?
TIA
greg
请先登录再写评论。
Hi greg,
From what I understand you need @property and @method PHPDoc tags
Great! Exactly what I'm looking for! Thanks a lot :D