By default, Doctrine's documentation presents the code examples using annotations. So we begin the code example using annotations and discussing why they should be avoided whenever possible.
To do so, we'll bring back the Order class discussed earlier in this chapter.