Symfony, Doctrine Relations & Warp Drive Basics
Many To One: The King of Relationships
  Unlock this challenge
Login Register

Challenge 2 / 2

Why did we declare the parts property type as Collection and in the Starship::__construct() set that to the ArrayCollection object instead of using a plain PHP array?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.