$_reflection
$_reflection : \ReflectionFunction
Function Reflection
Decorates a ReflectionFunction. Allows setting and retrieving an alternate 'service' name (i.e., the name to be used when calling via a service), setting and retrieving the description (originally set using the docblock contents), retrieving the callback and callback type, retrieving additional method invocation arguments, and retrieving the method prototypes.
_addTree(\Zend_Server_Reflection_Node $parent, integer $level) : void
Create signature node tree
Recursive method to build the signature node tree. Increments through each array in \$_sigParams, adding every value of the next level to the current value (unless the current value is null).
\Zend_Server_Reflection_Node | $parent | |
integer | $level |
_buildTree() : array
Build the signature tree
Builds a signature tree starting at the return values and descending through each method argument. Returns an array of Zend_Server_Reflection_Nodes.
_buildSignatures(array $return, string $returnDesc, $paramTypes, array $paramDesc) : array
Build method signatures
Builds method signatures using the array of return types and the array of parameters types
array | $return | Array of return types |
string | $returnDesc | Return value description |
$paramTypes | ||
array | $paramDesc | Array of parameter descriptions |