Add and generate softdelete method by default
app:repository <model>
by default will generate two method, forceDelete
and restore
.
To disable softdelete add option -d
or --disable-softdelete
like this:
php artisan app:repository Backend/Question -d
Your App/Repositories/Backend/Question/QuestionRepository
will be created without delete
and restore
method