PHP Conference Kansai 2025

The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)

Introduction

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

Class synopsis

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* Inherited constants */
/* Inherited properties */
public string $name;
public string $class;
/* Methods */
public __construct(object|string $class, string $constant)
/* Inherited methods */
public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
}

Table of Contents

add a note

User Contributed Notes

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant