ReflectionClass::getParentClass

(PHP 5, PHP 7, PHP 8)

ReflectionClass::getParentClassGets parent class

Descrição

public ReflectionClass::getParentClass(): ReflectionClass|false

Get the parent class.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

A ReflectionClass or false if there's no parent.

Veja Também