Last active
August 29, 2015 14:25
-
-
Save phpdave/331a4a669d719dd99691 to your computer and use it in GitHub Desktop.
Netbeans PHP intellisense - type hinting to the IDE to get your class functions and vars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/* @var $myclass MyClass */ | |
$myclass = ServiceLocator::locate('MyClass'); | |
$myclass->//::TODO:: press control space to invoke intellisense when the cursor is after the arrow to see the intellisense work! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
class MyClass | |
{ | |
protected $_variable=''; | |
public $publicvar=''; | |
public function myFunction | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment