Commit 3ffe7e2f authored by Tomáš Lang's avatar Tomáš Lang

PS-2019.1.2 <tomas@saruman Create user.xml

parent 95073579
<templateSet group="user">
<template name="gs" value="public function get$FUNCTION_NAME$(): $RETURN_TYPE$&#10;{&#10; return $this-&gt;{$VARIABLE_NAME$};&#10;}&#10;&#10;public function set$FUNCTION_NAME$($RETURN_TYPE$ $$$PARAM_NAME$): self&#10;{&#10; $this-&gt;{$VARIABLE_NAME$} = $$$PARAM_NAME$;&#10; return $this;&#10;}" description="get/set generation" toReformat="false" toShortenFQNames="true">
<variable name="FUNCTION_NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="RETURN_TYPE" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="VARIABLE_NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="PARAM_NAME" expression="camelCase(FUNCTION_NAME)" defaultValue="camelCase(FUNCTION_NAME)" alwaysStopAt="false" />
<context>
<option name="PHP" value="true" />
</context>
</template>
</templateSet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment