Skip to content

Instantly share code, notes, and snippets.

@iToto
Created March 6, 2013 20:13
Show Gist options
  • Save iToto/5102650 to your computer and use it in GitHub Desktop.
Save iToto/5102650 to your computer and use it in GitHub Desktop.
PHP function snippet
<snippet>
<content><![CDATA[
/**
* \brief ${1:brief}
*
* ${2:description}
*
* \author Salvatore D'Agostino
* \date ${3:date}
* \param ${4:paramName} ${5:paramDescription}
* \param ${6:paramName} ${7:paramDescription}
*
* \return ${8:return}
**/
${9:public} function ${1}(\$${4},\$${6})
{
# ${10:code}
}// END function ${1}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>dox</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment