phpday 2027 - Call for Papers

ReflectionEnumUnitCase::__construct

(PHP 8 >= 8.1.0)

ReflectionEnumUnitCase::__construct — ReflectionEnumUnitCase オブジェクトをインスタンス化する

説明

public function ReflectionEnumUnitCase::__construct(object|string $class, string $constant)

パラメータ

class

列挙型のインスタンス、またはその名前。

constant

列挙型の定数名。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top