Skip to content

Commit 8a934f9

Browse files
authored
Add enum snippet for php (#511)
1 parent 2f12a93 commit 8a934f9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

snippets/php/php.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,5 +251,16 @@
251251
"prefix": "vd",
252252
"body": ["var_dump($0);"],
253253
"description": "var_dump"
254+
},
255+
"enum …": {
256+
"prefix": "enum",
257+
"body": [
258+
"enum ${1:EnumName}",
259+
"{",
260+
"\tcase $0;",
261+
"}",
262+
""
263+
],
264+
"description": "Enum definition"
254265
}
255266
}

0 commit comments

Comments
 (0)