| Fully Qualified Name: | Laminas\Code\Reflection\FunctionReflection |
| Extends: | ReflectionFunction |
| Implements: | ReflectionInterface |
| Name | Description | Defined By |
|---|---|---|
| __toString() | Required due to bug in php | FunctionReflection |
| getBody() | Get method body | FunctionReflection |
| getContents() | Get contents of function | FunctionReflection |
| getDocBlock() | Get function DocBlock | FunctionReflection |
| getParameters() | Get function parameters | FunctionReflection |
| getPrototype() | Get method prototype | FunctionReflection |
| getReturn() | Get return type tag | FunctionReflection |
| getStartLine() | Get start line (position) of function | FunctionReflection |
| toString() | FunctionReflection |
Required due to bug in php
Returns: string
Get method body
Returns: string|bool
Get contents of function
| Parameter Name | Type | Description |
|---|---|---|
| $includeDocBlock | bool |
Returns: string
Get function DocBlock
Returns: \DocBlockReflection
Get function parameters
Returns: \ParameterReflection[]
Get method prototype
| Parameter Name | Type | Description |
|---|---|---|
| $format | string |
Returns: array|string
Get return type tag
Returns: \DocBlockReflection
Get start line (position) of function
| Parameter Name | Type | Description |
|---|---|---|
| $includeDocComment | bool |
Returns: int
Returns: string