init
This commit is contained in:
10
snippets/php-mode/set
Normal file
10
snippets/php-mode/set
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: Robin de Rooij <rderooij685@gmail.com>
|
||||
# name: set
|
||||
# key: set
|
||||
# group: definitions
|
||||
# --
|
||||
public function set${1:$(upcase-initials yas-text)}(\$$1)
|
||||
{
|
||||
\$this->$1 = \$$1;
|
||||
}
|
||||
Reference in New Issue
Block a user