File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -501,7 +501,7 @@ following method to the ``ProductRepository`` class::
|
501 | 501 | }
|
502 | 502 | }
|
503 | 503 |
|
504 |
| -This will *still* return an array of ``Product`` objects. But now, when you call |
| 504 | +This will *still* return a ``Product`` object. But now, when you call |
505 | 505 | ``$product->getCategory()`` and use that data, no second query is made.
|
506 | 506 |
|
507 | 507 | Now, you can use this method in your controller to query for a ``Product``
|
|
You can’t perform that action at this time.
0 commit comments