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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:40:54
Original
850 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
Latest Issues
Switch user
From 1970-01-01 08:00:00
0
0
0
User login
From 1970-01-01 08:00:00
0
0
0
Delete user to get id
From 1970-01-01 08:00:00
0
0
0
Translate: Laravel: Get Sanctum token by user ID
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template