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

Public Member Functions

 __construct (string $name)
 
 getName ()
 
 getNamespaceName ()
 
 getShortName ()
 
 getValue ()
 
 isDeprecated ()
 
 __toString ()
 

Data Fields

string $name
 

Detailed Description

@strict-properties @not-serializable

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

Constructor & Destructor Documentation

◆ __construct()

ReflectionConstant::__construct ( string $name)

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

Member Function Documentation

◆ __toString()

ReflectionConstant::__toString ( )

Implements Stringable.

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

◆ getName()

ReflectionConstant::getName ( )

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

◆ getNamespaceName()

ReflectionConstant::getNamespaceName ( )

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

◆ getShortName()

ReflectionConstant::getShortName ( )

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

◆ getValue()

ReflectionConstant::getValue ( )

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

◆ isDeprecated()

ReflectionConstant::isDeprecated ( )

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

Field Documentation

◆ $name

string ReflectionConstant::$name

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


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