RefProperty
+ Inheritance diagram for RefProperty:

Protected Properties

MagicType $type
 
- Protected Properties inherited from DocBlockTrait
string[] $warnings = []
 

Public Static Methods

static self from (ReflectionProperty $prop)
 

Public Methods

string __toString ()
 
MagicType getType ()
 Checks for a var tag in the docblock, falls back to checking the default value. 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 ()
 
bool isStatic ()
 

Additional Inherited Members

- 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 self from ( ReflectionProperty  $prop)
static
Parameters
ReflectionProperty$prop
Returns
self

◆ getType()

MagicType getType ( )

Checks for a var tag in the docblock, falls back to checking the default value.

Returns
MagicType

◆ write()

void write ( RefXML  $xml)
Parameters
RefXML$xml

Implements XMLWriterInterface.