We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1341ce4 commit 427c259Copy full SHA for 427c259
docs/source/mediable.rst
@@ -256,12 +256,12 @@ Variants can also be eager loaded this way.
256
257
<?php
258
// lazy eager load from a collection of Mediables
259
- $posts->loadMediaAndVariants($tags);
260
- $posts->loadMediaAndVariantsMatchAll($tags);
+ $posts->loadMediaWithVariants($tags);
+ $posts->loadMediaWithVariantsMatchAll($tags);
261
262
// lazy eager load from a single Mediable model
263
- $post->loadMediaAndVariants($tags);
264
- $post->loadMediaAndVariantsMatchAll($tags);
+ $post->loadMediaWithVariants($tags);
+ $post->loadMediaWithVariantsMatchAll($tags);
265
266
Automatic Rehydration
267
----------------------
0 commit comments