php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ReflectionEnum Class Reference
Inheritance diagram for ReflectionEnum:
ReflectionClass Reflector Stringable

Public Member Functions

 __construct (object|string $objectOrClass)
 
 hasCase (string $name)
 
 getCase (string $name)
 
 getCases ()
 
 isBacked ()
 
 getBackingType ()
 
- Public Member Functions inherited from ReflectionClass
 __toString ()
 
 getName ()
 
 isInternal ()
 
 isUserDefined ()
 
 isAnonymous ()
 
 isInstantiable ()
 
 isCloneable ()
 
 getFileName ()
 
 getStartLine ()
 
 getEndLine ()
 
 getDocComment ()
 
 getConstructor ()
 
 hasMethod (string $name)
 
 getMethod (string $name)
 
 getMethods (?int $filter=null)
 
 hasProperty (string $name)
 
 getProperty (string $name)
 
 getProperties (?int $filter=null)
 
 hasConstant (string $name)
 
 getConstants (?int $filter=null)
 
 getReflectionConstants (?int $filter=null)
 
 getConstant (string $name)
 
 getReflectionConstant (string $name)
 
 getInterfaces ()
 
 getInterfaceNames ()
 
 isInterface ()
 
 getTraits ()
 
 getTraitNames ()
 
 getTraitAliases ()
 
 isTrait ()
 
 isEnum ()
 
 isAbstract ()
 
 isFinal ()
 
 isReadOnly ()
 
 getModifiers ()
 
 isInstance (object $object)
 
 newInstance (mixed ... $args)
 
 newInstanceWithoutConstructor ()
 
 newInstanceArgs (array $args=[])
 
 newLazyGhost (callable $initializer, int $options=0)
 
 newLazyProxy (callable $factory, int $options=0)
 
 resetAsLazyGhost (object $object, callable $initializer, int $options=0)
 
 resetAsLazyProxy (object $object, callable $factory, int $options=0)
 
 initializeLazyObject (object $object)
 
 isUninitializedLazyObject (object $object)
 
 markLazyObjectAsInitialized (object $object)
 
 getLazyInitializer (object $object)
 
 getParentClass ()
 
 isSubclassOf (ReflectionClass|string $class)
 
 getStaticProperties ()
 
 getStaticPropertyValue (string $name, mixed $default=UNKNOWN)
 
 setStaticPropertyValue (string $name, mixed $value)
 
 getDefaultProperties ()
 
 isIterable ()
 
 isIterateable ()
 
 implementsInterface (ReflectionClass|string $interface)
 
 getExtension ()
 
 getExtensionName ()
 
 inNamespace ()
 
 getNamespaceName ()
 
 getShortName ()
 
 getAttributes (?string $name=null, int $flags=0)
 

Additional Inherited Members

- Data Fields inherited from ReflectionClass
const int IS_IMPLICIT_ABSTRACT = UNKNOWN
 
const int IS_EXPLICIT_ABSTRACT = UNKNOWN
 
const int IS_FINAL = UNKNOWN
 
const int IS_READONLY = UNKNOWN
 
const int SKIP_INITIALIZATION_ON_SERIALIZE = UNKNOWN
 
const int SKIP_DESTRUCTOR = UNKNOWN
 
string $name
 

Detailed Description

Definition at line 857 of file php_reflection.stub.php.

Constructor & Destructor Documentation

◆ __construct()

ReflectionEnum::__construct ( object|string $objectOrClass)

Reimplemented from ReflectionClass.

Definition at line 859 of file php_reflection.stub.php.

Member Function Documentation

◆ getBackingType()

ReflectionEnum::getBackingType ( )

Definition at line 869 of file php_reflection.stub.php.

◆ getCase()

ReflectionEnum::getCase ( string $name)

Definition at line 863 of file php_reflection.stub.php.

◆ getCases()

ReflectionEnum::getCases ( )

Definition at line 865 of file php_reflection.stub.php.

◆ hasCase()

ReflectionEnum::hasCase ( string $name)

Definition at line 861 of file php_reflection.stub.php.

◆ isBacked()

ReflectionEnum::isBacked ( )

Definition at line 867 of file php_reflection.stub.php.


The documentation for this class was generated from the following file: