Cloneable
Instantiable
Methods |
public
__construct
(
string
$name
) Creates a parameter builder. |
public
getNode
() :
PhpParser\Node
Returns the built parameter node.
|
public
makeByRef
() Make the parameter accept the value by reference.
|
public
makeVariadic
() Make the parameter variadic
|
public
setDefault
(
$value
) Sets default value for the parameter.
|
public
setType
(
$type
) Sets type for the parameter.
|
public
setTypeHint
(
$type
) Sets type for the parameter.
|
Properties |
protected $byRef |
protected $default |
protected $name |
protected
$type
|
protected $variadic |