diff options
| author | Simeon Simeonov | 2013-09-20 19:35:11 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2013-09-20 19:35:11 +0200 |
| commit | 5209ed708be9f6233393cbdef8c8faf640d3ba4f (patch) | |
| tree | e324a0c54815843cffd097411368e54ff18300c0 /.emacs.d/mysnippets/text-mode/php-mode/pps | |
| parent | 7bf6712498ad2618bee7bf5b3866fb6da0772339 (diff) | |
Few more PHP-snippets
Diffstat (limited to '.emacs.d/mysnippets/text-mode/php-mode/pps')
| -rw-r--r-- | .emacs.d/mysnippets/text-mode/php-mode/pps | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/php-mode/pps b/.emacs.d/mysnippets/text-mode/php-mode/pps new file mode 100644 index 0000000..4eb0fad --- /dev/null +++ b/.emacs.d/mysnippets/text-mode/php-mode/pps | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #name : php public function | ||
| 2 | # -- | ||
| 3 | public function set${1:name}(${2:value}) | ||
| 4 | { | ||
| 5 | $this->$0$2 = $2; | ||
| 6 | } | ||
