Skip to content

Instantly share code, notes, and snippets.

@bells17
Last active December 30, 2015 05:19
Show Gist options
  • Select an option

  • Save bells17/7781785 to your computer and use it in GitHub Desktop.

Select an option

Save bells17/7781785 to your computer and use it in GitHub Desktop.
sublime text 2 snipets
<!-- protected function mock -->
<snippet>
<content><![CDATA[
private function ${1:}()
{
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>private</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
<!-- protected function mock -->
<snippet>
<content><![CDATA[
protected function ${1:}()
{
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>protected</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
<!-- public function mock -->
<snippet>
<content><![CDATA[
public function ${1:}()
{
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>public</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment