Fully Qualified Name: | Zend\Code\Scanner\ParameterScanner |
Parameter Name | Type | Description |
---|---|---|
$parameterTokens | array | |
$nameInformation | \NameInformation |
Returns:
Get class
Returns: string
Get declaring class
Returns: string
Get declaring function
Returns: string
Get declaring scanner class
Returns: \ClassScanner
Get declaring scanner function
Returns: \MethodScanner
Get default value
Returns: string
Get name
Returns: string
Get position
Returns: int
Check if is array
Returns: bool
Check if default value is available
Returns: bool
Check if is optional
Returns: bool
Check if is passed by reference
Returns: bool
Set declaring class
Parameter Name | Type | Description |
---|---|---|
$class | string |
Returns: void
Set declaring function
Parameter Name | Type | Description |
---|---|---|
$function | string |
Returns: void
Set declaring scanner class
Parameter Name | Type | Description |
---|---|---|
$scannerClass | \ClassScanner |
Returns: void
Set declaring scanner function
Parameter Name | Type | Description |
---|---|---|
$scannerFunction | \MethodScanner |
Returns: void
Set position
Parameter Name | Type | Description |
---|---|---|
$position | int |
Returns: void