aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php/snippets/php-mode/function-statement
diff options
context:
space:
mode:
Diffstat (limited to 'oni-php/snippets/php-mode/function-statement')
-rw-r--r--oni-php/snippets/php-mode/function-statement10
1 files changed, 10 insertions, 0 deletions
diff --git a/oni-php/snippets/php-mode/function-statement b/oni-php/snippets/php-mode/function-statement
new file mode 100644
index 0000000..6a1cbe6
--- /dev/null
+++ b/oni-php/snippets/php-mode/function-statement
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# name: function statement
+# key: f
+# --
+/**
+ * $5
+ */
+${1:private} function $2($3): ${4:void} {
+ $0
+} \ No newline at end of file