[TYPO3-mvc] Benefit of DI when referencing to a class (and not to an interface)?
Karsten Dambekalns
karsten at typo3.org
Thu Jun 28 07:50:56 CEST 2012
Hi.
On 27.06.12 15:14, Roland wrote:
> do you all agree, that you should use DI with reference to interfaces
> (and not classes) where possible?
That is the better choice when it comes to decoupling, of course :)
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-project-typo3v4mvc
mailing list