|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| __construct (object|string $class, string $constant) | |
| __toString () | |
| getName () | |
| getValue () | |
| isPublic () | |
| isPrivate () | |
| isProtected () | |
| isFinal () | |
| getModifiers () | |
| getDeclaringClass () | |
| getDocComment () | |
| getAttributes (?string $name=null, int $flags=0) | |
| isEnumCase () | |
| isDeprecated () | |
| hasType () | |
| getType () | |
Data Fields | |
| const int | IS_PUBLIC = UNKNOWN |
| const int | IS_PROTECTED = UNKNOWN |
| const int | IS_PRIVATE = UNKNOWN |
| const int | IS_FINAL = UNKNOWN |
| string | $name |
| string | $class |
@not-serializable
Definition at line 579 of file php_reflection.stub.php.
| ReflectionClassConstant::__construct | ( | object|string | $class, |
| string | $constant ) |
Reimplemented in ReflectionEnumBackedCase, and ReflectionEnumUnitCase.
Definition at line 596 of file php_reflection.stub.php.
| ReflectionClassConstant::__toString | ( | ) |
Implements Stringable.
Definition at line 598 of file php_reflection.stub.php.
| ReflectionClassConstant::getAttributes | ( | ?string | $name = null, |
| int | $flags = 0 ) |
Definition at line 626 of file php_reflection.stub.php.
| ReflectionClassConstant::getDeclaringClass | ( | ) |
@tentative-return-type
Definition at line 621 of file php_reflection.stub.php.
| ReflectionClassConstant::getDocComment | ( | ) |
@tentative-return-type
Definition at line 624 of file php_reflection.stub.php.
| ReflectionClassConstant::getModifiers | ( | ) |
@tentative-return-type
Definition at line 618 of file php_reflection.stub.php.
| ReflectionClassConstant::getName | ( | ) |
@tentative-return-type
Definition at line 601 of file php_reflection.stub.php.
| ReflectionClassConstant::getType | ( | ) |
Definition at line 634 of file php_reflection.stub.php.
| ReflectionClassConstant::getValue | ( | ) |
@tentative-return-type
Reimplemented in ReflectionEnumUnitCase.
Definition at line 604 of file php_reflection.stub.php.
| ReflectionClassConstant::hasType | ( | ) |
Definition at line 632 of file php_reflection.stub.php.
| ReflectionClassConstant::isDeprecated | ( | ) |
Definition at line 630 of file php_reflection.stub.php.
| ReflectionClassConstant::isEnumCase | ( | ) |
Definition at line 628 of file php_reflection.stub.php.
| ReflectionClassConstant::isFinal | ( | ) |
Definition at line 615 of file php_reflection.stub.php.
| ReflectionClassConstant::isPrivate | ( | ) |
@tentative-return-type
Definition at line 610 of file php_reflection.stub.php.
| ReflectionClassConstant::isProtected | ( | ) |
@tentative-return-type
Definition at line 613 of file php_reflection.stub.php.
| ReflectionClassConstant::isPublic | ( | ) |
@tentative-return-type
Definition at line 607 of file php_reflection.stub.php.
| string ReflectionClassConstant::$class |
Definition at line 591 of file php_reflection.stub.php.
| string ReflectionClassConstant::$name |
Definition at line 590 of file php_reflection.stub.php.
| const int ReflectionClassConstant::IS_FINAL = UNKNOWN |
@cvalue ZEND_ACC_FINAL
Definition at line 588 of file php_reflection.stub.php.
| const int ReflectionClassConstant::IS_PRIVATE = UNKNOWN |
@cvalue ZEND_ACC_PRIVATE
Definition at line 586 of file php_reflection.stub.php.
| const int ReflectionClassConstant::IS_PROTECTED = UNKNOWN |
@cvalue ZEND_ACC_PROTECTED
Definition at line 584 of file php_reflection.stub.php.
| const int ReflectionClassConstant::IS_PUBLIC = UNKNOWN |
@cvalue ZEND_ACC_PUBLIC
Definition at line 582 of file php_reflection.stub.php.