如何在PHP Netbeans 8.2中提示静态方法?
我只找到一种提示对象方法的方法,这里是:
/**
* @method float functionName(float $param)
P.S。
我正在使用Laravel Facades,我想在其上键入静态方法。
答案 0 :(得分:1)
这应该在最新的IDE中起作用:
* @method static float functionName(float $param)
static关键字未在phpdoc.org上记录,但声明它是在2.9.1中添加的:https://github.com/phpDocumentor/phpDocumentor2/issues/822