PHP Класс Neos\Flow\ObjectManagement\Configuration\ConfigurationArgument

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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() публичный Метод

Returns the autowiring mode for this argument
public getAutowiring ( ) : integer
Результат integer Value of one of the Configuration::AUTOWIRING_MODE_* constants

getIndex() публичный Метод

Returns the index (position) of the argument
public getIndex ( ) : string
Результат string Index of the argument

getType() публичный Метод

Returns the type of the argument
public getType ( ) : integer
Результат integer Type of the argument - one of the ARGUMENT_TYPES_* constants

getValue() публичный Метод

Returns the value of the argument
public getValue ( ) : mixed
Результат mixed Value of the argument

set() публичный Метод

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
Результат void

setAutowiring() публичный Метод

Sets autowiring for this argument
public setAutowiring ( integer $autowiring ) : void
$autowiring integer One of the Configuration::AUTOWIRING_MODE_* constants
Результат void

Описание свойств

$autowiring защищенное свойство

protected int $autowiring
Результат integer

$index защищенное свойство

The position of the constructor argument. Counting starts at "1".
protected int $index
Результат integer

$type защищенное свойство

Argument type, one of the ARGUMENT_TYPES_* constants
protected int $type
Результат integer

$value защищенное свойство

The argument's value
protected $value