A magic member.
TODO: resolve class imports for types
Public Properties | |
string | $docblock = '' |
string | $fqn = '' |
int | $logLevel = LOG_USER |
string | $name = '' |
Public Static Methods | |
static self[] | fromDocBlock (AbstractRefClass $owner, string &$docblock) |
Extracts magic members of the called type from a root entity's docblock. More... | |
Public Methods | |
string | __toString () |
string | getVisibility () |
Magic members are always public . More... | |
Public Methods inherited from MemberInterface | |
bool | isStatic () |
Public Methods inherited from XMLWriterInterface | |
void | write (RefXML $xml) |
Reflector writes itself to the XML. More... | |
Protected Methods | |
void | setDocBlock (string $docblock) |
Cleans up a fragmented magic member comment from the parser and sets it as the docblock. More... | |
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) |
Additional Inherited Members | |
Protected Properties inherited from DocBlockTrait | |
string[] | $warnings = [] |
string __toString | ( | ) |
<ClassFQN>::<identifier>
Implements MemberInterface.
|
staticabstract |
Extracts magic members of the called type from a root entity's docblock.
AbstractRefClass | $owner | |
string | $docblock | Extracted magic members are removed. |
|
final |
|
protected |
Cleans up a fragmented magic member comment from the parser and sets it as the docblock.
string | $docblock |