1
0
Fork 0

oni-php: Add more snippets

This commit is contained in:
Tom Willemse 2025-04-07 14:21:14 -07:00
parent bc8c360593
commit 65b8e7381d
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: arrow-function
# key: fn
# --
fn($1) => $0

View file

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: constructor
# key: constructor
# --
public function __construct($1)
{
$0
}