Skip to content

Instantly share code, notes, and snippets.

@gmann1982
Last active December 21, 2015 22:29
Show Gist options
  • Select an option

  • Save gmann1982/6375307 to your computer and use it in GitHub Desktop.

Select an option

Save gmann1982/6375307 to your computer and use it in GitHub Desktop.
service provider
<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>provider</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