ReflectionClassConstant::hasType

(PHP 8 >= 8.3.0)

ReflectionClassConstant::hasType — Checks if class constant has a type

Açıklama

public function ReflectionClassConstant::hasType(): bool

Checks if the class constant has a type associated with it.

Bağımsız Değişkenler

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

Dönen Değerler

true if a type is specified, false 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