\Inhere\Console\IO\InputInputArguments

Class InputArguments - input arguments builder

Summary

Methods
Properties
Constants
add()
getArguments()
setArguments()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$arguments
N/A

Properties

$arguments

$arguments : array

Type

array

Methods

add()

add(string  $name, integer|null  $mode = null, string|null  $type = null, string  $description = '', null  $default = null, null  $alias = null) 

Parameters

string $name
integer|null $mode
string|null $type

The argument data type. (eg: 'string', 'array', 'mixed')

string $description
null $default
null $alias

getArguments()

getArguments() : array

Returns

array

setArguments()

setArguments(array  $arguments) 

Parameters

array $arguments