Skip to content

Instantly share code, notes, and snippets.

@ManInTheBox
Created October 5, 2015 13:45
Show Gist options
  • Select an option

  • Save ManInTheBox/b554f5bdb53a5047cf3d to your computer and use it in GitHub Desktop.

Select an option

Save ManInTheBox/b554f5bdb53a5047cf3d to your computer and use it in GitHub Desktop.

Revisions

  1. ManInTheBox created this gist Oct 5, 2015.
    9 changes: 9 additions & 0 deletions getter.sublime-snippet
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <snippet>
    <content><![CDATA[
    public function get${1/(\w)/(\u$1)/}()
    {
    return \$this->$1;
    }
    ]]></content>
    <tabTrigger>getter</tabTrigger>
    </snippet>