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

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

WBOY
Release: 2016-06-13 10:40:54
Original
830 people have browsed it

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

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



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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template