Using the following code, the code completion works fine!
class FooClass
{
public function run(){}
}
/**
* @method static FooClass foo(bool $param1 = false)
*/
class Test
{
public static function __callStatic($name, $arguments)
{
//Implementation code ..
}
}
//Code completes fine for FooClass methods ..
Test::foo()->run();
But, its possible to IDE (PhpStorm) complete the code using the following php invocation method write style (Curly braces)?
//Code NOT completes fine ..
Test::{"foo"}();
If so, how? Thanks for the help!