We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66031e5 commit 4bbe565Copy full SHA for 4bbe565
snippets/php-mode/get
@@ -0,0 +1,10 @@
1
+# -*- mode: snippet -*-
2
+# contributor: Robin de Rooij <[email protected]>
3
+# name: get
4
+# key: get
5
+# group: definitions
6
+# --
7
+public function get${1:$(capitalize yas-text)}()
8
+{
9
+ return \$this->$1;
10
+}
snippets/php-mode/set
+# name: set
+# key: set
+public function set${1:$(capitalize yas-text)}(\$$1)
+ \$this->$1 = $1;
0 commit comments