Challenge 2 / 2
After upgrading to Doctrine Bundle 3 (native lazy objects), you mark Starship as final. Later, you add a custom method getDisplayName() to Starship and use it like $part->getStarship()->getDisplayName() in a template. When does Doctrine actually hit the database to load the starship’s other fields?
Skip challenges and go to theNext Chapter