diff options
Diffstat (limited to 'oni-php/snippets/php-mode')
| -rw-r--r-- | oni-php/snippets/php-mode/arrow-function | 5 | ||||
| -rw-r--r-- | oni-php/snippets/php-mode/constructor | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/oni-php/snippets/php-mode/arrow-function b/oni-php/snippets/php-mode/arrow-function new file mode 100644 index 0000000..43bad1e --- /dev/null +++ b/oni-php/snippets/php-mode/arrow-function @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: arrow-function +# key: fn +# -- +fn($1) => $0
\ No newline at end of file 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 |
