Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
phpstorm-settings
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Lang
phpstorm-settings
Commits
3ffe7e2f
Commit
3ffe7e2f
authored
May 24, 2019
by
Tomáš Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PS-2019.1.2 <tomas@saruman Create user.xml
parent
95073579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
user.xml
templates/user.xml
+11
-0
No files found.
templates/user.xml
0 → 100644
View file @
3ffe7e2f
<templateSet
group=
"user"
>
<template
name=
"gs"
value=
"public function get$FUNCTION_NAME$(): $RETURN_TYPE$ { return $this->{$VARIABLE_NAME$}; } public function set$FUNCTION_NAME$($RETURN_TYPE$ $$$PARAM_NAME$): self { $this->{$VARIABLE_NAME$} = $$$PARAM_NAME$; return $this; }"
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment