PHP Class Neos\Flow\ObjectManagement\Configuration\ConfigurationArgument

Mostra file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$autowiring integer
$index integer The position of the constructor argument. Counting starts at "1".
$type integer Argument type, one of the ARGUMENT_TYPES_* constants
$value The argument's value

Public Methods

Method Description
__construct ( string $index, mixed $value, integer $type = self::ARGUMENT_TYPES_STRAIGHTVALUE ) Constructor - sets the index, value and type of the argument
getAutowiring ( ) : integer Returns the autowiring mode for this argument
getIndex ( ) : string Returns the index (position) of the argument
getType ( ) : integer Returns the type of the argument
getValue ( ) : mixed Returns the value of the argument
set ( integer $index, mixed $value, integer $type = self::ARGUMENT_TYPES_STRAIGHTVALUE ) : void Sets the index, value, type of the argument and object configuration
setAutowiring ( integer $autowiring ) : void Sets autowiring for this argument

Method Details

__construct() public method

Constructor - sets the index, value and type of the argument
public __construct ( string $index, mixed $value, integer $type = self::ARGUMENT_TYPES_STRAIGHTVALUE )
$index string Index of the argument
$value mixed Value of the argument
$type integer Type of the argument - one of the argument_TYPE_* constants

getAutowiring() public method

Returns the autowiring mode for this argument
public getAutowiring ( ) : integer
return integer Value of one of the Configuration::AUTOWIRING_MODE_* constants

getIndex() public method

Returns the index (position) of the argument
public getIndex ( ) : string
return string Index of the argument

getType() public method

Returns the type of the argument
public getType ( ) : integer
return integer Type of the argument - one of the ARGUMENT_TYPES_* constants

getValue() public method

Returns the value of the argument
public getValue ( ) : mixed
return mixed Value of the argument

set() public method

Sets the index, value, type of the argument and object configuration
public set ( integer $index, mixed $value, integer $type = self::ARGUMENT_TYPES_STRAIGHTVALUE ) : void
$index integer Index of the argument (counting starts at "1")
$value mixed Value of the argument
$type integer Type of the argument - one of the ARGUMENT_TYPE_* constants
return void

setAutowiring() public method

Sets autowiring for this argument
public setAutowiring ( integer $autowiring ) : void
$autowiring integer One of the Configuration::AUTOWIRING_MODE_* constants
return void

Property Details

$autowiring protected_oe property

protected int $autowiring
return integer

$index protected_oe property

The position of the constructor argument. Counting starts at "1".
protected int $index
return integer

$type protected_oe property

Argument type, one of the ARGUMENT_TYPES_* constants
protected int $type
return integer

$value protected_oe property

The argument's value
protected $value