Last active
April 24, 2017 10:42
-
-
Save irfanbaigse/622716e7ba5b73d8cc197c9e87e51a48 to your computer and use it in GitHub Desktop.
PhpStrom auto generate function doc comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ${NAME} | |
* | |
#if (!$!PARAM_DOC || $!PARAM_DOC != "") | |
#set( $paramCommentArr = ${PARAM_DOC.split("\n")} ) | |
#foreach( $paramComment in $paramCommentArr ) | |
#set ($index = $paramComment.indexOf("$") + 1) | |
${paramComment} $paramComment.substring($index) | |
#end | |
#end | |
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT} | |
#else | |
* @return void | |
#end | |
${THROWS_DOC} | |
* | |
* @author Irfan Baig <[email protected]> | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment