aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php/snippets/php-mode/constructor
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-04-07 14:21:14 -0700
committerGravatar Tom Willemse2025-04-07 14:21:14 -0700
commit65b8e7381d2e2ea5f645e081784f771f29ab723f (patch)
tree683de53457218f9a43d397163a619e5b7c8d4f96 /oni-php/snippets/php-mode/constructor
parentbc8c3605937ad9668d9b457fcf9a1dc8481745e8 (diff)
downloademacs-config-65b8e7381d2e2ea5f645e081784f771f29ab723f.tar.gz
emacs-config-65b8e7381d2e2ea5f645e081784f771f29ab723f.zip
oni-php: Add more snippets
Diffstat (limited to 'oni-php/snippets/php-mode/constructor')
-rw-r--r--oni-php/snippets/php-mode/constructor8
1 files changed, 8 insertions, 0 deletions
diff --git a/oni-php/snippets/php-mode/constructor b/oni-php/snippets/php-mode/constructor
new file mode 100644
index 0000000..f919e6c
--- /dev/null
+++ b/oni-php/snippets/php-mode/constructor
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: constructor
+# key: constructor
+# --
+public function __construct($1)
+{
+ $0
+} \ No newline at end of file