Start your All-Access Pass to unlock this challenge
What is the purpose of the #[MapEntity] attribute?
#[MapEntity]
To validate the data passed to the controller.
To create a new entity in the database automatically.
To generate a unique identifier for entities.
To map a route parameter to a Doctrine entity property.