class Argument

Properties

$name
$type
$default
$mandatory
$empty

Methods

__construct($name, TypeCollection $type, $default = null, $mandatory = false, $empty = true, $value = null)

No description

getValue()

No description

getRawValue()

No description

setValue($value)

No description

static 
createAnyTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static 
createIntTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static 
createFloatTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static 
createBooleanTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static 
createBooleanOrBothTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static 
createIntListTypeArgument($name, $default = null, $mandatory = false, $empty = true)

No description

static  Argument
createAnyListTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

No description

static 
createEnumListTypeArgument($name, array $entries, $default = null, $mandatory = false, $empty = true)

No description

static  Argument
createAlphaNumStringTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

No description

static  Argument
createAlphaNumStringListTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

No description

Details

at line 32
__construct($name, TypeCollection $type, $default = null, $mandatory = false, $empty = true, $value = null)

Parameters

$name
TypeCollection $type
$default
$mandatory
$empty
$value

at line 43
getValue()

at line 48
getRawValue()

at line 53
setValue($value)

Parameters

$value

at line 67
static createAnyTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 80
static createIntTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 93
static createFloatTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 106
static createBooleanTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 119
static createBooleanOrBothTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 132
static createIntListTypeArgument($name, $default = null, $mandatory = false, $empty = true)

Parameters

$name
$default
$mandatory
$empty

at line 153
static Argument createAnyListTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

Parameters

$name
null $default
bool $mandatory
bool $empty

Return Value

Argument

at line 166
static createEnumListTypeArgument($name, array $entries, $default = null, $mandatory = false, $empty = true)

Parameters

$name
array $entries
$default
$mandatory
$empty

at line 187
static Argument createAlphaNumStringTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

Parameters

$name
null $default
bool $mandatory
bool $empty

Return Value

Argument

at line 208
static Argument createAlphaNumStringListTypeArgument($name, null $default = null, bool $mandatory = false, bool $empty = true)

Parameters

$name
null $default
bool $mandatory
bool $empty

Return Value

Argument