lunarstorm/laravel-ddd

Implement support for model factories

Closed this issue · 0 comments

It'd be nice to be able to do php artisan ddd:model -f and have it create the factory in the appropriate directory from the newFactory method in the BaseModel and have the protected $model attribute populated.

Originally posted by @funkymonk91 in #21