[+FEATURE] make DI work without inject-methods
authorFelix Oertel <f@oer.tel>
Fri, 10 Feb 2012 21:56:24 +0000 (22:56 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 10 Feb 2012 22:03:36 +0000 (23:03 +0100)
commite899b4562e609616e8ec2c2a2fec7df4fe8794d7
treed8a7fb1633083b9a6e80281a25ae0b399d23ebd5
parentcdab23534ed30fe6b4a42b4b34a0ecdec58c8f9b
[+FEATURE] make DI work without inject-methods

As in FLOW3 it would be great to use dependency injection without
the inject methods. PHP 5.3 allows to set even protected properties
via the reflection API so we can make use of that.

Change-Id: Ie143a7bba53060769ff0a868d758f754275768c5
Resolves: #32404
Releases: 1.5
typo3/sysext/extbase/Classes/Object/Container/ClassInfo.php
typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php
typo3/sysext/extbase/Classes/Object/Container/Container.php
typo3/sysext/extbase/Tests/Unit/Fixtures/ClassWithInjectProperties.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Object/Container/ClassInfoFactoryTest.php