PHP 8.4.2 Released!

The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)

Einführung

The ReflectionEnumBackedCase class reports information about an Enum backed case, which has a scalar equivalent.

Klassenbeschreibung

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* Geerbte Konstanten */
/* Geerbte Eigenschaften */
public string $name;
public string $class;
/* Methoden */
public __construct(object|string $class, string $constant)
/* Geerbte Methoden */
public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
}

Inhaltsverzeichnis

add a note

User Contributed Notes

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