[TYPO3-mvc] questions: @lazy, @inject, @api, constructors

Martin Kutschker masi-no at spam-typo3.org
Tue Jan 19 11:33:19 CET 2010


Jochen Rau schrieb:
>
> The Factory pattern is another solution to ensure invariants.

Defaults are not invariants. I like factories, but I thought they are bad when it comes to unit testing?

Masi


More information about the TYPO3-project-typo3v4mvc mailing list