Start your All-Access Pass to unlock this challenge
What does the EntityManagerInterface::remove() method do?
EntityManagerInterface::remove()
Immediately deletes the entity from the database.
Moves the entity to an archive table in the database.
Marks the entity for deletion, which is executed upon calling flush().
flush()
Checks if the entity exists in the database before deleting it.