Re: New function proposal: spl_class_vars / params / contents

From: Date: Wed, 21 Jan 2009 09:58:35 +0000
Subject: Re: New function proposal: spl_class_vars / params / contents
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-42741@lists.php.net to get a copy of this message
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 <sb@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: guilhermeblanco@hotmail.com URL: http://blog.bisna.com São Paulo - SP/Brazil

« previous php.internals (#42741) next »