idea-php-toolbox
idea-php-toolbox copied to clipboard
Registrar & Providers
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"
}
]
}
]
}