略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ReflectionEnumBackedCase

2024-04-27

ReflectionEnumBackedCase 类

(PHP 8 >= 8.1.0)

简介

ReflectionEnumBackedCase 类报告了一个回退枚举条目(Enum backed case)的信息, 具有对应的标量值。

类摘要

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase implements Reflector {
/* 继承的常量 */
/* 继承的属性 */
public string $name;
public string $class;
/* 方法 */
public getBackingValue(): string|int
/* 继承的方法 */
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.reflectionenumbackedcase.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3