$arguments
$arguments : array
Arguments
Function trait
addArgument(string $name, mixed $value = null, string $type = null) : \Pop\Code\Generator\Traits\FunctionTrait
Add an argument
string | $name | |
mixed | $value | |
string | $type |
addArguments(array $args) : \Pop\Code\Generator\Traits\FunctionTrait
Add arguments
array | $args |
addParameter(string $name, mixed $value = null, string $type = null) : \Pop\Code\Generator\Traits\FunctionTrait
Add an argument (alias method for convenience)
string | $name | |
mixed | $value | |
string | $type |
addParameters(array $args) : \Pop\Code\Generator\Traits\FunctionTrait
Add arguments (alias method for convenience)
array | $args |