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