PHP Class Neos\Flow\ObjectManagement\Configuration\ConfigurationArgument

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

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 méthode

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

getIndex() public méthode

Returns the index (position) of the argument
public getIndex ( ) : string
Résultat string Index of the argument

getType() public méthode

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

getValue() public méthode

Returns the value of the argument
public getValue ( ) : mixed
Résultat mixed Value of the argument

set() public méthode

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
Résultat void

setAutowiring() public méthode

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

Property Details

$autowiring protected_oe property

protected int $autowiring
Résultat integer

$index protected_oe property

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

$type protected_oe property

Argument type, one of the ARGUMENT_TYPES_* constants
protected int $type
Résultat integer

$value protected_oe property

The argument's value
protected $value