Re: ReflectionProperty::setValue() and ReflectionProperty::setAccessible()
| From: | Sebastian Bergmann | Date: | Sat, 29 Nov 2008 15:13:19 +0000 |
| Subject: | Re: ReflectionProperty::setValue() and ReflectionProperty::setAccessible() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42080@lists.php.net to get a copy of this message | ||
Sebastian Bergmann schrieb:
> Currently ReflectionProperty::setValue() ignores the setting made by
> ReflectionProperty::setAccessible(). Is this intentional or was it just
> forgotten to handle ref->ignore_visibility in setValue()?
See http://bugs.php.net/bug.php?id=46718 for a
patch that implements the
missing functionality in ReflectionProperty::setValue().
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69