CloneableInstantiable
Methods |
public __construct(string $name) Creates a parameter builder.
|
public addAttribute( $attribute) Adds an attribute group.
|
public getNode() : PhpParser Returns the built parameter node.
|
public makeByRef() Make the parameter accept the value by reference.
|
public makePrivate() Makes the (promoted) parameter private.
|
public makeProtected() Makes the (promoted) parameter protected.
|
public makePublic() Makes the (promoted) parameter public.
|
public makeReadonly() Makes the (promoted) parameter readonly.
|
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 $attributeGroups = []
|
protected $byRef = false |
protected $default = NULL |
protected $flags = 0 |
protected $name = NULL |
protected $type = NULL
|
protected $variadic = false |