File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,14 @@ This library version introduces the following breaking changes:
79
79
of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
80
80
documents.
81
81
82
- - Removes support for the ``$collection`` property and the following associated
83
- methods:
82
+ - Removes support for the ``$collection`` property and associated methods.
83
+ The following list contains the removed methods and provides alternative methods
84
+ that you can use to replace the functionality:
84
85
85
- - ``Model::collection()``. Instead, use ``Model::table()``.
86
- - ``DB::collection()``. Instead, use ``DB::table()``.
87
- - ``Connection::collection()``. Instead, use ``Connection::table()``.
88
- - ``Schema::collection()``. Instead, use ``Schema::table()``.
86
+ - ``Model::collection()``: use ``Model::table()``
87
+ - ``DB::collection()``: use ``DB::table()``
88
+ - ``Connection::collection()``: use ``Connection::table()``
89
+ - ``Schema::collection()``: use ``Schema::table()``
89
90
90
91
.. _laravel-breaking-changes-v4.x:
91
92
You can’t perform that action at this time.
0 commit comments