Home >Backend Development >PHP Tutorial > 应用phpstrom 对 php的 对象 进行智能提示

应用phpstrom 对 php的 对象 进行智能提示

WBOY
WBOYOriginal
2016-06-13 13:19:35730browse

使用phpstrom 对 php的 对象 进行智能提示

/**
* @var User $tt
*/
$tt ;



添加了
/**
* @var User $tt
*/ 注释
后, 在phpstrom 编辑代码时,$tt就有类 User的属性和方法的提示

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn