Created
December 29, 2017 14:51
-
-
Save VaguelyOnline/ca1cd014f4716fd75b455421393e6f1c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // the following doesn't eager load either the images, or the shapes relation. | |
| // note - the details relation is a polymorphic one - will that make a difference?? | |
| $ex = Exercise::find(1282); | |
| $ex->load('details.images.shapes'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment