Skip to content

Instantly share code, notes, and snippets.

@gaving
Created October 6, 2009 08:42
Show Gist options
  • Save gaving/202869 to your computer and use it in GitHub Desktop.
Save gaving/202869 to your computer and use it in GitHub Desktop.
public function get${1:name}() {
return $this->${2:`substitute('$1', '^\(.\)', '\=tolower(submatch(1))', '')`};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment