Class ParameterScanner

Summary

Fully Qualified Name: Laminas\Code\Scanner\ParameterScanner

Description

Methods

Name Description Defined By
__construct() ParameterScanner
getClass() Get class ParameterScanner
getDeclaringClass() Get declaring class ParameterScanner
getDeclaringFunction() Get declaring function ParameterScanner
getDeclaringScannerClass() Get declaring scanner class ParameterScanner
getDeclaringScannerFunction() Get declaring scanner function ParameterScanner
getDefaultValue() Get default value ParameterScanner
getName() Get name ParameterScanner
getPosition() Get position ParameterScanner
isArray() Check if is array ParameterScanner
isDefaultValueAvailable() Check if default value is available ParameterScanner
isOptional() Check if is optional ParameterScanner
isPassedByReference() Check if is passed by reference ParameterScanner
setDeclaringClass() Set declaring class ParameterScanner
setDeclaringFunction() Set declaring function ParameterScanner
setDeclaringScannerClass() Set declaring scanner class ParameterScanner
setDeclaringScannerFunction() Set declaring scanner function ParameterScanner
setPosition() Set position ParameterScanner

Method Details

__construct()

Parameter Name Type Description
$parameterTokens array
$nameInformation \NameInformation

Returns:

getClass()

Get class

Returns: string

getDeclaringClass()

Get declaring class

Returns: string

getDeclaringFunction()

Get declaring function

Returns: string

getDeclaringScannerClass()

Get declaring scanner class

Returns: \ClassScanner

getDeclaringScannerFunction()

Get declaring scanner function

Returns: \MethodScanner

getDefaultValue()

Get default value

Returns: string

getName()

Get name

Returns: string

getPosition()

Get position

Returns: int

isArray()

Check if is array

Returns: bool

isDefaultValueAvailable()

Check if default value is available

Returns: bool

isOptional()

Check if is optional

Returns: bool

isPassedByReference()

Check if is passed by reference

Returns: bool

setDeclaringClass()

Set declaring class

Parameter Name Type Description
$class string

Returns: void

setDeclaringFunction()

Set declaring function

Parameter Name Type Description
$function string

Returns: void

setDeclaringScannerClass()

Set declaring scanner class

Parameter Name Type Description
$scannerClass \ClassScanner

Returns: void

setDeclaringScannerFunction()

Set declaring scanner function

Parameter Name Type Description
$scannerFunction \MethodScanner

Returns: void

setPosition()

Set position

Parameter Name Type Description
$position int

Returns: void

Top