2021-09-19 12:01:52 +00:00
|
|
|
snippet pp "<?php ... ?>"
|
|
|
|
<?php $0; ?>
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet pe "<?php ... ?>"
|
|
|
|
<?php echo "$0"; ?>
|
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet ph "<?php ... ?>"
|
|
|
|
<?php esc_html( $0 ); ?>
|
|
|
|
endsnippet
|
|
|
|
|
2020-03-19 15:47:31 +00:00
|
|
|
snippet pf "public function ..."
|
|
|
|
public function $1($2) {
|
2020-05-10 13:15:31 +00:00
|
|
|
$0
|
2020-03-19 15:47:31 +00:00
|
|
|
}
|
|
|
|
endsnippet
|
2020-05-10 13:15:31 +00:00
|
|
|
|
2021-10-05 17:57:52 +00:00
|
|
|
snippet psf "public static function ..."
|
|
|
|
public static function $1($2) {
|
|
|
|
$0
|
|
|
|
}
|
|
|
|
endsnippet
|
2020-05-10 21:23:19 +00:00
|
|
|
|
2021-10-05 17:57:52 +00:00
|
|
|
snippet prsf "public static function ..."
|
|
|
|
private static function $1($2) {
|
|
|
|
$0
|
2020-05-10 13:15:31 +00:00
|
|
|
}
|
2021-10-05 17:57:52 +00:00
|
|
|
endsnippet
|
|
|
|
|
|
|
|
snippet ''= "'...' => "
|
|
|
|
'$1' => $0,
|
2020-05-10 13:15:31 +00:00
|
|
|
endsnippet
|