ArgumentNode
in package
Argument node.
Tags
Table of Contents
- $byReference : mixed
- $default : mixed
- $isNullable : mixed
- $isVariadic : mixed
- $name : mixed
- $optional : mixed
- $typeHint : mixed
- __construct() : mixed
- getDefault() : mixed
- getName() : mixed
- getTypeHint() : mixed
- hasDefault() : mixed
- isNullable() : mixed
- isOptional() : mixed
- isPassedByReference() : mixed
- isVariadic() : mixed
- setAsNullable() : mixed
- setAsPassedByReference() : mixed
- setAsVariadic() : mixed
- setDefault() : mixed
- setTypeHint() : mixed
Properties
$byReference
private
mixed
$byReference
= false
$default
private
mixed
$default
$isNullable
private
mixed
$isNullable
= false
$isVariadic
private
mixed
$isVariadic
= false
$name
private
mixed
$name
$optional
private
mixed
$optional
= false
$typeHint
private
mixed
$typeHint
Methods
__construct()
public
__construct(string $name) : mixed
Parameters
- $name : string
Return values
mixed —getDefault()
public
getDefault() : mixed
Return values
mixed —getName()
public
getName() : mixed
Return values
mixed —getTypeHint()
public
getTypeHint() : mixed
Return values
mixed —hasDefault()
public
hasDefault() : mixed
Return values
mixed —isNullable()
public
isNullable() : mixed
Return values
mixed —isOptional()
public
isOptional() : mixed
Return values
mixed —isPassedByReference()
public
isPassedByReference() : mixed
Return values
mixed —isVariadic()
public
isVariadic() : mixed
Return values
mixed —setAsNullable()
public
setAsNullable([mixed $isNullable = true ]) : mixed
Parameters
- $isNullable : mixed = true
Return values
mixed —setAsPassedByReference()
public
setAsPassedByReference([mixed $byReference = true ]) : mixed
Parameters
- $byReference : mixed = true
Return values
mixed —setAsVariadic()
public
setAsVariadic([mixed $isVariadic = true ]) : mixed
Parameters
- $isVariadic : mixed = true
Return values
mixed —setDefault()
public
setDefault([mixed $default = null ]) : mixed
Parameters
- $default : mixed = null
Return values
mixed —setTypeHint()
public
setTypeHint([mixed $typeHint = null ]) : mixed
Parameters
- $typeHint : mixed = null