init
This commit is contained in:
12
snippets/php-mode/try
Normal file
12
snippets/php-mode/try
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: USAMI Kenta <tadsan@zonu.me>
|
||||
# name: try
|
||||
# key: try
|
||||
# group : control structure
|
||||
# --
|
||||
try {
|
||||
$0
|
||||
} catch (${1:\PDOException} ${2:$e}) {
|
||||
${3:
|
||||
throw $e;}
|
||||
}
|
||||
Reference in New Issue
Block a user