## 注释模板
phpstorm -》Editor-》File and Code Templates->PHP FUNCTION
```
/**
${PARAM\_DOC}
#if (${TYPE\_HINT} != "void") \* @return ${TYPE\_HINT}
#end
${THROWS\_DOC}
@author ${USER}
@time ${DATE} ${TIME}
*/
```
phpstorm -》Editor-》File and Code Templates->PHP Class
```
/**
* Class ${NAME}
#if (${NAMESPACE}) \* @package ${NAMESPACE}
#end
@author ${USER}
@time ${DATE} ${TIME}
*/
```
![](https://img.kancloud.cn/93/86/938621be5dcf4509dbc1c9759c71e3e8_1037x702.png)