setAcessible() is the way to go! Doctrine 2.0 took advantage of it to be able to move to a completely VO mapping of models. =)
Cheers, On Wed, Jan 21, 2009 at 5:43 AM, Sebastian Bergmann <s...@sebastian-bergmann.de> wrote: > Etienne Kneuss schrieb: >> Why can't you use Reflection in this case? It looks like you can quite >> easily implement that in userland from Reflection. > > Especially using setAcessible() which was added in PHP 5.3. > > -- > Sebastian Bergmann http://sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco - Web Developer CBC - Certified Bindows Consultant Cell Phone: +55 (16) 9215-8480 MSN: guilhermebla...@hotmail.com URL: http://blog.bisna.com São Paulo - SP/Brazil -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php