Skip to content

Commit

Permalink
Forgot to add method to stub
Browse files Browse the repository at this point in the history
  • Loading branch information
hariadi committed Nov 28, 2017
1 parent 2090b04 commit e7c0268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/stubs/model.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ namespace {{namespace}};

use Illuminate\Database\Eloquent\Model;
use {{namespace}}\Traits\Scope\{{class}}Scope;
use {{namespace}}\Traits\Attribute\{{class}}Method;
use {{namespace}}\Traits\Attribute\{{class}}Attribute;
use {{namespace}}\Traits\Relationship\{{class}}Relationship;

class {{class}} extends Model
{
use {{class}}Attribute, {{class}}Relationship, {{class}}Scope;
use {{class}}Method, {{class}}Attribute, {{class}}Relationship, {{class}}Scope;
//
}

0 comments on commit e7c0268

Please sign in to comment.