| Fully Qualified Name: | Laminas\Code\Scanner\DerivedClassScanner |
| Extends: | ClassScanner |
| Parameter Name | Type | Description |
|---|---|---|
| $classScanner | \ClassScanner | |
| $directoryScanner | \DirectoryScanner |
Returns:
Returns: void
Returns: void
Get annotations
| Parameter Name | Type | Description |
|---|---|---|
| $annotationManager | \Annotation\AnnotationManager |
Returns: \Annotation\AnnotationCollection
Return a single constant by given name or index of info
| Parameter Name | Type | Description |
|---|---|---|
| $constantNameOrInfoIndex | string|int |
Returns: bool|\ConstantScanner
Return a list of constant names
Returns: array
Return a list of constants
| Parameter Name | Type | Description |
|---|---|---|
| $namesOnly | bool | Set |
Returns: array|\ConstantScanner[]
Return documentation block
Returns: bool|\DocBlockScanner
Return documentation comment
Returns: null|string
| Parameter Name | Type | Description |
|---|---|---|
| $returnClassScanners | bool |
Returns: array
Return number of last line
Returns: int|null
Return number of first line
Returns: int|null
| Parameter Name | Type | Description |
|---|---|---|
| $methodNameOrInfoIndex | int|string |
Returns: \MethodScanner
Returns: array
Returns: \MethodScanner[]
Returns: null|string
Returns: null|string
Returns: array
| Parameter Name | Type | Description |
|---|---|---|
| $returnScannerProperty | bool |
Returns: array
Return a single property by given name or index of info
| Parameter Name | Type | Description |
|---|---|---|
| $propertyNameOrInfoIndex | string|int |
Returns: bool|\PropertyScanner
Return a list of property names
Returns: array
Returns: null|string
Retrieve a list of aliased traits used by the class.
Returns: array
Retrieve a list of trait names used by this class.
Returns: array
Retrieve any traits used by the class.
Returns: \ClassScanner[]
Verify if class or parent class has constant
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: bool
Verify if class or parent class has method by given name
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: bool
Returns: bool
Verify if class or parent class has property
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: bool
Returns: bool
Returns: bool
Returns: bool
Returns: bool
Verify if class is a trait
Returns: bool