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

0
Avatar
Permanently deleted user

Great! Exactly what I'm looking for! Thanks a lot :D

0

请先登录再写评论。