Symfony 5: Mastering Doctrine Relations
The ManyToOne Relation
  Unlock this challenge
Login Register

Challenge 1 / 2

Suppose you have a Product entity and each Product should be related to a single Category. What property should you add to Product to accomplish this? And what would the corresponding column in the database be called?

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.