Implement support for model factories
JasperTey opened this issue · comments
Jasper Tey commented
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