Skip to content

Instantly share code, notes, and snippets.

@igorbabko
Created July 11, 2016 05:24
Show Gist options
  • Save igorbabko/eeacf1180b6678ce27061cb94c4ba182 to your computer and use it in GitHub Desktop.
Save igorbabko/eeacf1180b6678ce27061cb94c4ba182 to your computer and use it in GitHub Desktop.
snippet met
public function ${1}(${2})
{
${3}
}
snippet pmet
protected function ${1}(${2})
{
${3}
}
snippet smet
public static function ${1}(${2})
{
${3}
}
snippet rg
Route::get('${1}', '${2}')
snippet rga
Route::get('${1}', function () {
${2}
});
snippet rp
Route::post('${1}', '${2}')
snippet rpa
Route::get('${1}', function () {
${2}
});
snippet $
$this->${1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment