You need to add the path to a class of global include path. After that, your IDE, when IDE will display a hint on each pinba methods you write.
$timer = pinba_timer_start(array('tag' => 'value'), array('customData', 1, 2));
....
pinba_timer_stop($timer);
-
Install php pinba extension
-
The simpliest way to install and use pinba-phpdoc is to use Composer, as there is a package on Packagist. Just add this to your project composer.json file :
{ "require": { "misterion/pinba-phpdoc": "*" }, "minimum-stability": "dev" }
-
Or direct download pinba-phpdoc
Menu "File" -> "Settings" -> "PHP" -> Select path to folder "pinba-phpdoc"
- Right click your project -> "Properties"
- Select the "PHP Include Path" category
- Click "Add Folder..."
- Select your checkout of pinba-phpdoc
- Click "Open"
- Click "OK"