| Fully Qualified Name: | Laminas\Code\Scanner\MethodScanner |
| Implements: | ScannerInterface |
| Name | Description | Defined By |
|---|---|---|
| __construct() | MethodScanner | |
| __toString() | MethodScanner | |
| export() | MethodScanner | |
| getAnnotations() | MethodScanner | |
| getBody() | MethodScanner | |
| getClassScanner() | MethodScanner | |
| getDocComment() | MethodScanner | |
| getLineEnd() | MethodScanner | |
| getLineStart() | MethodScanner | |
| getName() | MethodScanner | |
| getNumberOfParameters() | MethodScanner | |
| getParameter() | MethodScanner | |
| getParameters() | MethodScanner | |
| isAbstract() | MethodScanner | |
| isFinal() | MethodScanner | |
| isPrivate() | MethodScanner | |
| isProtected() | MethodScanner | |
| isPublic() | MethodScanner | |
| isStatic() | MethodScanner | |
| setClass() | MethodScanner | |
| setName() | Override the given name for a method, this is necessary to support traits. | MethodScanner |
| setScannerClass() | MethodScanner | |
| setVisibility() | Visibility must be of T_PUBLIC, T_PRIVATE or T_PROTECTED Needed to support traits | MethodScanner |
| Parameter Name | Type | Description |
|---|---|---|
| $methodTokens | array | |
| $nameInformation | \NameInformation |
Returns:
Returns: void
Returns: void
| Parameter Name | Type | Description |
|---|---|---|
| $annotationManager | \AnnotationManager |
Returns: \AnnotationScanner|bool
Returns: string
Returns: \ClassScanner
Returns: string
Returns: int
Returns: int
Returns: string
Returns: int
| Parameter Name | Type | Description |
|---|---|---|
| $parameterNameOrInfoIndex | int|string |
Returns: \ParameterScanner
| Parameter Name | Type | Description |
|---|---|---|
| $returnScanner | bool |
Returns: array
Returns: bool
Returns: bool
Returns: bool
Returns: bool
Returns: bool
Returns: bool
| Parameter Name | Type | Description |
|---|---|---|
| $class | string |
Returns: \MethodScanner
Override the given name for a method, this is necessary to support traits.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: self
| Parameter Name | Type | Description |
|---|---|---|
| $scannerClass | \ClassScanner |
Returns: \MethodScanner
Visibility must be of T_PUBLIC, T_PRIVATE or T_PROTECTED Needed to support traits
| Parameter Name | Type | Description |
|---|---|---|
| $visibility | int | T_PUBLIC |
Returns: self