idea-php-toolbox icon indicating copy to clipboard operation
idea-php-toolbox copied to clipboard

Registrar & Providers

Open Tauri28 opened this issue 3 years ago • 0 comments

Can anyone provide more information on how I could achieve following result. How can I get IDE to recognise Test class and suggest its methods:

/** @var $container \classes\Container */
$container->create(Test::class)->CURSOR

I tried something like this but it did not work.

{
  "registrar": [
    {
      "language": "php",
      "signatures": [
        {
          "class": "\\classes\\Container",
          "method": "create",
          "type": "type"
        }
      ]
    }
  ]
}

Tauri28 avatar Oct 17 '22 13:10 Tauri28