프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$reflectionService | |||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
메소드 | 설명 | |
---|---|---|
buildObjectConfigurations ( array $availableClassAndInterfaceNamesByPackage, array $rawObjectConfigurationsByPackages ) : array |
Traverses through the given class and interface names and builds a base object configuration for all of them. Then parses the provided extra configuration and merges the result into the overall configuration. Finally autowires dependencies of arguments and properties which can be resolved automatically. | |
injectReflectionService ( |
||
injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void |
메소드 | 설명 | |
---|---|---|
autowireArguments ( array &$objectConfigurations ) : void | If mandatory constructor arguments have not been defined yet, this function tries to autowire them if possible. | |
autowireProperties ( array &$objectConfigurations ) : void | This function tries to find yet unmatched dependencies which need to be injected via "inject*" setter methods. | |
enhanceRawConfigurationWithAnnotationOptions ( string $className, array $rawObjectConfiguration ) : array | Builds a raw configuration array by parsing possible scope and autowiring annotations from the given class or interface. | |
parseArgumentOfTypeObject ( string $argumentName, mixed $objectNameOrConfiguration, string $configurationSourceHint ) : |
Parses the configuration for arguments of type OBJECT | |
parseAutowiring ( mixed $value ) : integer | Parses the value of the option "autowiring" | |
parseConfigurationArray ( string $objectName, array $rawConfigurationOptions, string $configurationSourceHint = '', |
Builds an object configuration object from a generic configuration container. | |
parsePropertyOfTypeObject ( string $propertyName, mixed $objectNameOrConfiguration, |
Parses the configuration for properties of type OBJECT | |
parseScope ( string $value ) : integer | Parses the value of the option "scope" |
protected autowireArguments ( array &$objectConfigurations ) : void | ||
$objectConfigurations | array | |
리턴 | void |
protected autowireProperties ( array &$objectConfigurations ) : void | ||
$objectConfigurations | array | |
리턴 | void |
public buildObjectConfigurations ( array $availableClassAndInterfaceNamesByPackage, array $rawObjectConfigurationsByPackages ) : array |
||
$availableClassAndInterfaceNamesByPackage | array | An array of available class names, grouped by package key |
$rawObjectConfigurationsByPackages | array | An array of package keys and their raw (ie. unparsed) object configurations |
리턴 | array |
public injectReflectionService ( |
||
$reflectionService | ||
리턴 | void |
public injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | |
리턴 | void |
protected parseArgumentOfTypeObject ( string $argumentName, mixed $objectNameOrConfiguration, string $configurationSourceHint ) : |
||
$argumentName | string | Name of the argument |
$objectNameOrConfiguration | mixed | Value of the "object" section of the argument configuration - either a string or an array |
$configurationSourceHint | string | A human readable hint on the original source of the configuration (for troubleshooting) |
리턴 | A configuration argument of type object |
protected static parseAutowiring ( mixed $value ) : integer | ||
$value | mixed | Value of the option |
리턴 | integer | The autowiring option translated into one of Configuration::AUTOWIRING_MODE_* |
protected parseConfigurationArray ( string $objectName, array $rawConfigurationOptions, string $configurationSourceHint = '', |
||
$objectName | string | Name of the object |
$rawConfigurationOptions | array | The configuration array with options for the object configuration |
$configurationSourceHint | string | A human readable hint on the original source of the configuration (for troubleshooting) |
$existingObjectConfiguration | If set, this object configuration object will be used instead of creating a fresh one | |
리턴 | The object configuration object |
protected parsePropertyOfTypeObject ( string $propertyName, mixed $objectNameOrConfiguration, |
||
$propertyName | string | Name of the property |
$objectNameOrConfiguration | mixed | Value of the "object" section of the property configuration - either a string or an array |
$parentObjectConfiguration | The Configuration object this property belongs to | |
리턴 | ConfigurationProperty | A configuration property of type object |
protected parseScope ( string $value ) : integer | ||
$value | string | Value of the option |
리턴 | integer | The scope translated into a Configuration::SCOPE_* constant |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
리턴 |