Home
last modified time | relevance | path

Searched refs:ReflectionEnum (Results 1 – 16 of 16) sorted by relevance

/PHP-8.2/ext/reflection/tests/
H A DReflectionEnum_construct.phpt2 ReflectionEnum::__construct()
9 echo (new ReflectionEnum(Foo::class))->getName() . "\n";
12 new ReflectionEnum('Bar');
18 new ReflectionEnum('Baz');
24 new ReflectionEnum([]);
34 ReflectionEnum::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array gi…
H A DReflectionEnum_getBackingType.phpt2 ReflectionEnum::getBackingType()
12 var_dump((new ReflectionEnum(Enum_::class))->getBackingType());
13 echo (new ReflectionEnum(IntEnum::class))->getBackingType() . "\n";
14 echo (new ReflectionEnum(StringEnum::class))->getBackingType() . "\n";
H A DReflectionEnum_isBacked.phpt2 ReflectionEnum::isBacked()
12 var_dump((new ReflectionEnum(Enum_::class))->isBacked());
13 var_dump((new ReflectionEnum(IntEnum::class))->isBacked());
14 var_dump((new ReflectionEnum(StringEnum::class))->isBacked());
H A Dbug81457.phpt13 $re = new ReflectionEnum(testEnum::class);
25 ReflectionEnum
26 ReflectionEnum
H A DReflectionEnum_getCases.phpt2 ReflectionEnum::getCases()
18 var_dump((new ReflectionEnum(Enum_::class))->getCases());
19 var_dump((new ReflectionEnum(IntEnum::class))->getCases());
H A Dbug81681.phpt2 Bug #81681 (ReflectionEnum throwing exceptions)
12 $reflectionEnum = new \ReflectionEnum('\Status');
H A DReflectionEnum_hasCase.phpt2 ReflectionEnum::hasCase()
11 $reflectionEnum = new ReflectionEnum(Foo::class);
H A DReflectionEnum_toString.phpt2 ReflectionEnum::__toString()
10 echo new ReflectionEnum(Foo::class);
H A DReflectionEnum_getCase.phpt2 ReflectionEnum::getCases()
18 $reflectionEnum = new ReflectionEnum($enumName);
H A DReflectionExtension_getClasses_basic.phpt112 ["ReflectionEnum"]=>
115 string(14) "ReflectionEnum"
/PHP-8.2/Zend/tests/enum/
H A Dbacked-tryFrom-casing.phpt8 $reflectionEnum = new ReflectionEnum(Foo::class);
/PHP-8.2/ext/opcache/tests/
H A Dgh10914.phpt16 $x = new ReflectionEnum(ExampleEnum::class);
/PHP-8.2/ext/reflection/
H A Dphp_reflection_arginfo.h823 ZEND_METHOD(ReflectionEnum, __construct);
824 ZEND_METHOD(ReflectionEnum, hasCase);
825 ZEND_METHOD(ReflectionEnum, getCase);
826 ZEND_METHOD(ReflectionEnum, getCases);
827 ZEND_METHOD(ReflectionEnum, isBacked);
828 ZEND_METHOD(ReflectionEnum, getBackingType);
1164 ZEND_ME(ReflectionEnum, __construct, arginfo_class_ReflectionEnum___construct, ZEND_ACC_PUBLIC)
1165 ZEND_ME(ReflectionEnum, hasCase, arginfo_class_ReflectionEnum_hasCase, ZEND_ACC_PUBLIC)
1166 ZEND_ME(ReflectionEnum, getCase, arginfo_class_ReflectionEnum_getCase, ZEND_ACC_PUBLIC)
1167 ZEND_ME(ReflectionEnum, getCases, arginfo_class_ReflectionEnum_getCases, ZEND_ACC_PUBLIC)
[all …]
H A Dphp_reflection.stub.php835 class ReflectionEnum extends ReflectionClass class
854 public function getEnum(): ReflectionEnum {}
H A Dphp_reflection.c6836 ZEND_METHOD(ReflectionEnum, __construct) in ZEND_METHOD() argument
6853 ZEND_METHOD(ReflectionEnum, hasCase) in ZEND_METHOD() argument
6873 ZEND_METHOD(ReflectionEnum, getCase) in ZEND_METHOD() argument
6898 ZEND_METHOD(ReflectionEnum, getCases) in ZEND_METHOD() argument
6921 ZEND_METHOD(ReflectionEnum, isBacked) in ZEND_METHOD() argument
6934 ZEND_METHOD(ReflectionEnum, getBackingType) in ZEND_METHOD() argument
/PHP-8.2/
H A DNEWS2307 . Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.

Completed in 40 milliseconds