Searched refs:Enum_ (Results 1 – 6 of 6) sorted by relevance
6 enum Enum_ {25 test(Enum_::class, 'Foo');26 test(Enum_::class, 'Bar');27 test(Enum_::class, 'Baz');39 string(5) "Enum_"41 ReflectionException: Enum_::Bar is not a case42 ReflectionException: Case Enum_::Baz does not exist
6 enum Enum_ {18 var_dump((new ReflectionEnum(Enum_::class))->getCases());29 string(5) "Enum_"36 string(5) "Enum_"
6 enum Enum_ {19 var_dump(new ReflectionEnumBackedCase(Enum_::class, 'Foo'));35 Enum case Enum_::Foo is not a backed case
6 enum Enum_ {}12 var_dump((new ReflectionEnum(Enum_::class))->getBackingType());
6 enum Enum_ {}12 var_dump((new ReflectionEnum(Enum_::class))->isBacked());
11 use PhpParser\Node\Stmt\Enum_; alias3546 } else if ($class instanceof Enum_) {3564 $class instanceof Enum_ && $class->scalarType !== null
Completed in 18 milliseconds