Difference between revisions of "PHP/ReflectionClass/getParentClass"
< PHP
Jump to navigation
Jump to search
(Created page with "{{fmt/title|ReflectionClass::getParentClass()}} As of 2023-04-14 [https://www.php.net/manual/en/reflectionclass.getparentclass.php the official documentation] says {{fmt/quote...") |
(No difference)
|
Revision as of 16:03, 14 April 2023
ReflectionClass::getParentClass()
|
As of 2023-04-14 the official documentation says «This function is currently not documented; only its argument list is available.», so we have to kind of reverse-engineer how it actually behaves.
Trait Objects
Tentatively, a trait used by another trait is not counted as a "parent class"; you have to look at $oTrait->getTraits()
.