Skip to content

Instantly share code, notes, and snippets.

@gmann1982
Created August 29, 2013 07:54
Show Gist options
  • Save gmann1982/6375298 to your computer and use it in GitHub Desktop.
Save gmann1982/6375298 to your computer and use it in GitHub Desktop.
repository
<snippet>
<content><![CDATA[
<?php
namespace $1\Repositories;
class Elequent$2Repository implements $2RepositoryInterface
{
public function instance($data = array())
{
return new $2($data);
}
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>repo</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment