How to set to let the phpstorm prompt base class's attribute

I defined a class extends a base class,and i want to override some attributes. But phpstorm can't prompt the code of the base class attributes.Someone can tell me how to set it?

Comment actions Permalink

Can you please provide sample code to reproduce?

Comment actions Permalink

Maybe i don't maike it clear.What i want to say is :
for example,i defined a base class Parent,it has a publci attribute name = 'parent'.
And now i defined a child class extends it,and i want to override the name.
What i want to do is that when i type 'n',the phpstorm can prompt attribute name.But now,when i type 'n',it showes no suggestion.
So can you tell me how to make that?


Please sign in to leave a comment.