|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-27 12:21 UTC] johannes@php.net
-Status: Open
+Status: Wont fix
[2010-05-27 12:21 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
Description: ------------ Reflection classes can be extended but the parent classes doesn't make the usage of other extended classes. As an example we extend the ReflectionClass and the ReflectionMethod class. CustomReflectionClass extends ReflectionClass { } CustomReflectionMethod extends ReflectionMethod { } When using the CustomReflectionClass::getMethods method it returns an array of ReflectionMethod objects. It should be a possibility to register the CustomReflectionMethod class so that these will be returned by the CustomReflectionClass::getMethods method. For the DOM extensions it exists the DOMDocument::registerNodeClass method for this scenario.