Helping Netbeans/PhpStorm with Autocomplete/Code-hinting
Where Netbeans can’t guess the type/existence of a local variable, you can tell it in a multiline comment: /* @var $varName TypeName */ After this comment (and as long as TypeName is defined in your project/project’s include path), when you start to type $varName, Netbeans will offer to autocomplete it, and will offer TypeName method/property suggestions.
[...read the post]
mrclay.
rg
song for a future generation