Property | Type | Description | |
---|---|---|---|
$byRef | |||
$default | |||
$name | |||
$type | string | |
Method | Description | |
---|---|---|
__construct ( string $name ) | Creates a parameter builder. | |
getNode ( ) : |
Returns the built parameter node. | |
makeByRef ( ) | Make the parameter accept the value by reference. | |
setDefault ( mixed $value ) | Sets default value for the parameter. | |
setTypeHint ( string | |
Sets type hint for the parameter. |
public __construct ( string $name ) | ||
$name | string | Name of the parameter |
public getNode ( ) : |
||
return | The built parameter node |
public setDefault ( mixed $value ) | ||
$value | mixed | Default value to use |
public setTypeHint ( string | |
||
$type | string | |
Type hint to use |