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 makePrivateSet() Gives the promoted property private(set) visibility.
|
| public makeProtected() Makes the (promoted) parameter protected.
|
| public makeProtectedSet() Gives the promoted property protected(set) visibility.
|
| 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.
|
| Properties |
protected array $attributeGroups = []
|
| protected bool $byRef = false |
| protected ?PhpParser |
| protected int $flags = 0 |
| protected string $name |
protected ?PhpParser
|
| protected bool $variadic = false |