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

Please sign in to leave a comment.