The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)

Introducción

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

Sinopsis de la Clase

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* Constantaes heredadas constants */
/* Propiedades heredadas */
public string $name;
public string $class;
/* Métodos */
public __construct(object|string $class, string $constant)
/* Métodos heredados */
public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
}

Tabla de contenidos

add a note

User Contributed Notes

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