ReflectionClass::getParentClass

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getParentClassGets parent class

Description

public ReflectionClass::getParentClass(): ReflectionClass|false

Get the parent class.

Parameters

This function has no parameters.

Return Values

A ReflectionClass or false if there's no parent.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top