AbstractRefClass
+ Inheritance diagram for AbstractRefClass:

Public Static Methods

static self from (ReflectionClass $entity)
 

Public Methods

string __toString ()
 FQN. More...
 
RefConstant getConstant ($name)
 
RefConstant[] getConstants ()
 
RefMethod getConstructor ()
 
RefConstant[] getDeclaredConstants ()
 
RefMethod[] getDeclaredMethods ()
 
RefProperty[] getDeclaredProperties ()
 
mixed getDefaultValue (string $property)
 
RefConstant[] getInheritedConstants ()
 
RefMethod[] getInheritedMethods ()
 
RefProperty[] getInheritedProperties ()
 
RefInterface[] getInterfaces ()
 
null RefMethod getMethod ($name)
 
RefMethod[] getMethods ($filter=null)
 
null RefClass getParentClass ()
 
RefClass[] getParents ()
 Returns all interfaces, traits, and parent class. More...
 
RefConstant[] RefProperty[] RefMethod[] getParentsOf ($member)
 Resolves the parents of a member belonging to the entity. More...
 
array ReflectionProperty[] getProperties ($filter=null)
 
null RefProperty getProperty ($name)
 
null RefConstant getReflectionConstant ($name)
 
RefConstant[] getReflectionConstants ()
 
RefTrait[] getTraits ()
 
- Public Methods inherited from XMLWriterInterface
void write (RefXML $xml)
 Reflector writes itself to the XML. More...
 

Protected Methods

bool isDeclaring ($member)
 
void writeAttributes (RefXML $xml, array $extra=[])
 
void writeConstants (RefXML $xml)
 
void writeDocBlock_Tags (RefXML $xml, string &$docblock)
 
void writeInherited (RefXML $xml)
 
void writeMethods (RefXML $xml)
 
void writeParents (RefXML $xml)
 
void writeProperties (RefXML $xml)
 
- Protected Methods inherited from DocBlockTrait
void writeDocBlock (RefXML $xml, string $docblock)
 Writes the docblock. More...
 
void writeDocBlock_Prune (&$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)
 

Additional Inherited Members

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

Methods

◆ __toString()

string __toString ( )
final

FQN.

Returns
string

◆ from()

static self from ( ReflectionClass  $entity)
static
Parameters
ReflectionClass$entity
Returns
self

◆ getConstant()

RefConstant getConstant (   $name)
Parameters
string$name
Returns
RefConstant

◆ getConstants()

RefConstant [] getConstants ( )
Returns
RefConstant[]

◆ getConstructor()

RefMethod getConstructor ( )
Returns
RefMethod

◆ getDeclaredConstants()

RefConstant [] getDeclaredConstants ( )
Returns
RefConstant[]

◆ getDeclaredMethods()

RefMethod [] getDeclaredMethods ( )
Returns
RefMethod[]

◆ getDeclaredProperties()

RefProperty [] getDeclaredProperties ( )
Returns
RefProperty[]

◆ getDefaultValue()

mixed getDefaultValue ( string  $property)
Parameters
string$property
Returns
mixed

◆ getInheritedConstants()

RefConstant [] getInheritedConstants ( )
Returns
RefConstant[]

◆ getInheritedMethods()

RefMethod [] getInheritedMethods ( )
Returns
RefMethod[]

◆ getInheritedProperties()

RefProperty [] getInheritedProperties ( )
Returns
RefProperty[]

◆ getInterfaces()

RefInterface [] getInterfaces ( )
Returns
RefInterface[]

◆ getMethod()

null RefMethod getMethod (   $name)
Parameters
string$name
Returns
null|RefMethod

◆ getMethods()

RefMethod [] getMethods (   $filter = null)
Parameters
int | null$filter
Returns
RefMethod[]

◆ getParentClass()

null RefClass getParentClass ( )
Returns
null|RefClass

◆ getParents()

RefClass [] getParents ( )

Returns all interfaces, traits, and parent class.

Returns
RefClass[]

◆ getParentsOf()

RefConstant [] RefProperty [] RefMethod [] getParentsOf (   $member)

Resolves the parents of a member belonging to the entity.

Parameters
RefConstant | RefProperty | RefMethod$member
Returns
RefConstant[]|RefProperty[]|RefMethod[]

◆ getProperties()

array ReflectionProperty [] getProperties (   $filter = null)
Parameters
int | null$filter
Returns
array|ReflectionProperty[]

◆ getProperty()

null RefProperty getProperty (   $name)
Parameters
string$name
Returns
null|RefProperty

◆ getReflectionConstant()

null RefConstant getReflectionConstant (   $name)
Parameters
string$name
Returns
null|RefConstant

◆ getReflectionConstants()

RefConstant [] getReflectionConstants ( )
Returns
RefConstant[]

◆ getTraits()

RefTrait [] getTraits ( )
Returns
RefTrait[]

◆ isDeclaring()

bool isDeclaring (   $member)
protected
Parameters
RefConstant | RefProperty | RefMethod$member
Returns
bool

◆ writeAttributes()

void writeAttributes ( RefXML  $xml,
array  $extra = [] 
)
protected
Parameters
RefXML$xml
string[]$extra

◆ writeConstants()

void writeConstants ( RefXML  $xml)
protected
Parameters
RefXML$xml

◆ writeDocBlock_Tags()

void writeDocBlock_Tags ( RefXML  $xml,
string &  $docblock 
)
protected
Parameters
RefXML$xml
string$docblock

Reimplemented from DocBlockTrait.

◆ writeInherited()

void writeInherited ( RefXML  $xml)
protected
Parameters
RefXML$xml

◆ writeMethods()

void writeMethods ( RefXML  $xml)
protected
Parameters
RefXML$xml

◆ writeParents()

void writeParents ( RefXML  $xml)
protected
Parameters
RefXML$xml

◆ writeProperties()

void writeProperties ( RefXML  $xml)
protected
Parameters
RefXML$xml