File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ Eloquent includes a soft delete feature that changes the behavior of the
168
168
database. It sets a timestamp on the ``deleted_at`` field to exclude it from
169
169
retrieve operations automatically.
170
170
171
- To enable soft deletes on a class, add the ``MongoDB\Laravel \Eloquent\SoftDeletes``
171
+ To enable soft deletes on a class, add the ``Illuminate\Database \Eloquent\SoftDeletes``
172
172
trait as shown in the following code example:
173
173
174
174
.. literalinclude:: /includes/eloquent-models/PlanetSoftDelete.php
Original file line number Diff line number Diff line change 3
3
namespace App \Models ;
4
4
5
5
use MongoDB \Laravel \Eloquent \Model ;
6
- use MongoDB \ Laravel \Eloquent \SoftDeletes ;
6
+ use Illuminate \ Database \Eloquent \SoftDeletes ;
7
7
8
8
class Planet extends Model
9
9
{
You can’t perform that action at this time.
0 commit comments