Created
October 5, 2015 13:45
-
-
Save ManInTheBox/b554f5bdb53a5047cf3d to your computer and use it in GitHub Desktop.
Sublime Text PHP getter snippet
This file contains hidden or 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> | |
<content><![CDATA[ | |
public function get${1/(\w)/(\u$1)/}() | |
{ | |
return \$this->$1; | |
} | |
]]></content> | |
<tabTrigger>getter</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment