Created
June 22, 2018 08:22
-
-
Save sharik709/5d3931a058ca18a24a2f634cc1c67228 to your computer and use it in GitHub Desktop.
should be create under ~/.vim/snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet met | |
public function ${1}() | |
{ | |
${2} | |
} | |
snippet pmet | |
protected function ${1}() | |
{ | |
${2} | |
} | |
snippet smet | |
public static function ${1}() | |
{ | |
${2} | |
} | |
snippet rg | |
Route::get('${1}', '${2}'); | |
snippet rp | |
Route::post('${1}', '${2}'); | |
snippet rgc | |
Route::get('${1}', function(){ | |
${2} | |
}); | |
snippet $ | |
$this->${1} | |
snippet test | |
/** @test */ | |
public function check_if_${1}() { | |
${2} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment