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