Quiz Yourself on Orders

Test your understanding of what’s being discussed throughout this chapter.

1

What does the whenLoaded method do in API resources?

A)

Loads an array element if it is found in the cache

B)

Loads an array element if it is found in the session

C)

Loads an array element if the relationship record is eager-loaded

D)

Loads an array element if provided closure returns true

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.