Methods
__construct()
__construct(array $parameterTokens, \Zend\Code\NameInformation $nameInformation)
Parameters
$parameterTokens
array
Get class
getClass() : string
Get declaring class
getDeclaringClass() : string
Get declaring function
getDeclaringFunction() : string
Get default value
getDefaultValue() : string
Get name
getName() : string
Get position
getPosition() : int
Check if is array
isArray() : bool
Check if default value is available
isDefaultValueAvailable() : bool
Check if is optional
isOptional() : bool
Check if is passed by reference
isPassedByReference() : bool
Set declaring class
setDeclaringClass(string $class) : void
Set declaring function
setDeclaringFunction(string $function) : void
Parameters
$function
string
Set declaring scanner class
setDeclaringScannerClass(\Zend\Code\Scanner\ClassScanner $scannerClass) : void
Set declaring scanner function
setDeclaringScannerFunction(\Zend\Code\Scanner\MethodScanner $scannerFunction) : void
Set position
setPosition(int $position) : void
Properties
$class
$class : null | string
$declaringClass
$declaringClass : null | string
$declaringFunction
$declaringFunction : null | string
$defaultValue
$defaultValue : null | string
$isDefaultValueAvailable
$isDefaultValueAvailable : bool
$isOptional
$isOptional : bool
$isPassedByReference
$isPassedByReference : bool
$isScanned
$isScanned : bool
$name
$name : null | string
$position
$position : null | int
$tokens
$tokens : array | null