ReflectionClassConstant::getType

(PHP 8 >= 8.3.0)

ReflectionClassConstant::getType — Gets a class constant's type

Açıklama

public function ReflectionClassConstant::getType(): ?ReflectionType

Gets the associated type of a class constant.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns a ReflectionType object if a constant type is specified, null otherwise.

Ayrıca Bakınız

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top