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
168168database. It sets a timestamp on the ``deleted_at`` field to exclude it from
169169retrieve operations automatically.
170170
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``
172172trait as shown in the following code example:
173173
174174.. literalinclude:: /includes/eloquent-models/PlanetSoftDelete.php
Original file line number Diff line number Diff line change 22
33namespace App \Models ;
44
5+ use Illuminate \Database \Eloquent \SoftDeletes ;
56use MongoDB \Laravel \Eloquent \Model ;
6- use MongoDB \Laravel \Eloquent \SoftDeletes ;
77
88class Planet extends Model
99{
You can’t perform that action at this time.
0 commit comments