Skip to content

maynagashev/pinba-phpdoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

For example:

$timer = pinba_timer_start(array('tag' => 'value'), array('customData', 1, 2));
....
pinba_timer_stop($timer);

Example of use

Install

  • 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

Setup in IDE PhpStorm

Menu "File" -> "Settings" -> "PHP" -> Select path to folder "pinba-phpdoc"

Setup in IDE NetBeans

  • Right click your project -> "Properties"
  • Select the "PHP Include Path" category
  • Click "Add Folder..."
  • Select your checkout of pinba-phpdoc
  • Click "Open"
  • Click "OK"

Packages

No packages published

Languages

  • PHP 100.0%