Visual Studio Code

The PHP Intelephense extension for Visual Studio Code provides stubs for \BlackfireProbe internal class, from the Blackfire extension. These stubs give you code completion on all available methods of BlackfireProbe class.

Blackfire stubs are not enabled by default in Intelephense. To activate them, you need to:

  1. Go to VSCode settings;
  2. Look for Intelephense stubs;
  3. At the end of the stubs list, click on Add Item button;
  4. Add blackfire and validate.