RefConstant
+ Inheritance diagram for RefConstant:

Public Static Methods

static RefConstant from (ReflectionClassConstant $const)
 

Public Methods

string __toString ()
 
bool isStatic ()
 All constants have static access. More...
 
void write (RefXML $xml)
 
- Public Methods inherited from RefMemberTrait
RefClass getDeclaringClass ()
 Only use this when class composition doesn't matter. More...
 
self[] getParents ()
 Returns the parents, but only if this member was redeclared from another. More...
 
- Public Methods inherited from VisibilityTrait
string getVisibility ()
 
- Public Methods inherited from MemberInterface
string getVisibility ()
 

Additional Inherited Members

- Protected Properties inherited from DocBlockTrait
string[] $warnings = []
 
- Protected Methods inherited from DocBlockTrait
void writeDocBlock (RefXML $xml, string $docblock)
 Writes the docblock. More...
 
void writeDocBlock_Prune (&$docblock)
 
void writeDocBlock_Tags (RefXML $xml, string &$docblock)
 
void writeDocBlock_Tags_internal (RefXML $xml, string &$docblock)
 
void writeDocBlock_Tags_see (RefXML $xml, string &$docblock)
 
void writeDocBlock_Tags_todo (RefXML $xml, string &$docblock)
 

Methods

◆ __toString()

string __toString ( )
Returns
string Globally unique <ClassFQN>::<identifier>

Implements MemberInterface.

◆ from()

static RefConstant from ( ReflectionClassConstant  $const)
static
Parameters
ReflectionClassConstant$const
Returns
RefConstant

◆ isStatic()

bool isStatic ( )
final

All constants have static access.

Returns
bool

Implements MemberInterface.

◆ write()

void write ( RefXML  $xml)
Parameters
RefXML$xml

Implements XMLWriterInterface.