PHP 8.1.0 Released!

The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)


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

Class synopsis

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase implements Reflector {
/* Inherited constants */
/* Inherited properties */
public string $name;
public string $class;
/* Methods */
public getBackingValue(): string|int
/* Inherited methods */

Table of Contents

add a note add a note

User Contributed Notes

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