Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 533d094

Browse files
authored
Merge pull request doctrine#7883 from Pictor13/patch-1
Fix bullet list not rendering correctly on Github
2 parents d528f70 + c9fc364 commit 533d094

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/en/tutorials/getting-started.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,16 @@ There are several advantages to using such a model:
437437

438438
* **Entity state is always valid.** Since no setters exist, this means that we
439439
only update portions of the entity that should already be valid.
440+
440441
* Instead of having plain getters and setters, our entity now has
441442
**real behavior**: it is much easier to determine the logic in the domain.
443+
442444
* DTOs can be reused in other components, for example deserializing mixed
443445
content, using forms...
446+
444447
* Classic and static constructors can be used to manage different ways to
445448
create our objects, and they can also use DTOs.
449+
446450
* Anemic entities tend to isolate the entity from logic, whereas rich
447451
entities allow putting the logic in the object itself, including data
448452
validation.

0 commit comments

Comments
 (0)