ReflectionClass::getParentClass

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getParentClassGets parent class

Description

public ReflectionClass::getParentClass(): ReflectionClass|false

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

A ReflectionClass or false if there's no parent.

See Also