Skip to content

Commit

Permalink
Fix bullet list not rendering correctly on Github
Browse files Browse the repository at this point in the history
As *rst*, if reading the tutorial on the Github repository, the items
are not seen as elements of a bullet list, hence they are not rendered
and they are collapsed in a single line of text.

Fix won't affect how it renders on
[doctrine-project.org](https://www.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/getting-started.html).
  • Loading branch information
Pictor13 authored and greg0ire committed Jun 27, 2021
1 parent 53ba6b9 commit f3e87d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/tutorials/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,16 @@ There are several advantages to using such a model:

* **Entity state is always valid.** Since no setters exist, this means that we
only update portions of the entity that should already be valid.

* Instead of having plain getters and setters, our entity now has
**real behavior**: it is much easier to determine the logic in the domain.

* DTOs can be reused in other components, for example deserializing mixed
content, using forms...

* Classic and static constructors can be used to manage different ways to
create our objects, and they can also use DTOs.

* Anemic entities tend to isolate the entity from logic, whereas rich
entities allow putting the logic in the object itself, including data
validation.
Expand Down

0 comments on commit f3e87d2

Please sign in to comment.