当前位置:网站首页>Phpstrom setting function annotation description

Phpstrom setting function annotation description

2022-07-05 01:26:00 Know its black and accept its white

Read the directory

phpstorm Set method name Function name comment New page author date information comment .

Software settings :

file-> setting-> FIle and Code Template-> Includes-> PHP Function Doc Comment

Parameter description :

Notes: Method statement 
Author: author 
Date: date 
Time: Time 
Interface : The name of the interface 
PARAM_DOC: Parameters and return results 
/**
 * @Notes:
 * @Author: ${USER}
 * @Date: ${DATE}
 * @Time: ${TIME}
 * @Interface ${NAME}
 
${PARAM_DOC}
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT}
#end
${THROWS_DOC}
*/

 Insert picture description here
Application example :

 Insert picture description here

原网站

版权声明
本文为[Know its black and accept its white]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207050115001185.html