[TYPO3-mvc] Blog Example and Value Object question

Martin Kutschker masi-no at spam-typo3.org
Sun Dec 27 15:30:58 CET 2009


Hi!

If I understand correctly then value objects are immutable, or at least should be. Wouldn't that
mean that ideally all attributes are set in the constructor? Yet the tag class in the blog example
has no constructor but a setName() method.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list