[+FEATURE] Extbase (Reflection): Tx_Extbase_Reflection_ObjectAccess supports stdClass...
authorBastian Waidelich <bastian@typo3.org>
Thu, 2 Dec 2010 17:44:06 +0000 (17:44 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 2 Dec 2010 17:44:06 +0000 (17:44 +0000)
commit5b9bb964e3ddaff09b1ab96cbea814a4345377d8
tree3256568cb789e682454867dd87275d4625f81477
parentfcd45b99799d939c10fe93b761925965e262869c
[+FEATURE] Extbase (Reflection): Tx_Extbase_Reflection_ObjectAccess supports stdClass objects now

I've backported the ObjectAccess class and its unit tests from FLOW3.
Note: FLOW3's implementation allows to specify a third argument for the
method getPropertyPath() in order to support Closures.
This part is not backported as it's not compatible with PHP < 5.3.
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/ArrayAccessClass.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyClassWithGettersAndSetters.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php [new file with mode: 0644]