PHP 클래스 Neos\Flow\ObjectManagement\Configuration\Configuration

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arguments array Arguments of the constructor detected by reflection
$autowiring integer Mode of the autowiring feature. One of the AUTOWIRING_MODE_* constants
$className string Name of the class the object is based on
$configurationSourceHint string Information about where this configuration has been created. Used in error messages to make debugging easier.
$factoryMethodName string Name of the factory method. Only used if $factoryObjectName is set.
$factoryObjectName string If set, specifies the factory object name used to create this object
$lifecycleInitializationMethodName string Name of the method to call during the initialization of the object (after dependencies are injected)
$lifecycleShutdownMethodName string Name of the method to call during the shutdown of the framework
$objectName string Name of the object
$packageKey string Key of the package the specified object is part of
$properties array Array of properties which are injected into the object
$scope string

공개 메소드들

메소드 설명
__construct ( string $objectName, string $className = null ) The constructor
getArguments ( ) : array Returns a sorted array of constructor arguments indexed by position (starting with "1")
getAutowiring ( ) : integer Returns the autowiring mode for the configured object
getClassName ( ) : string Returns the class name
getConfigurationSourceHint ( ) : string Returns some information (if any) about where this configuration has been created.
getFactoryMethodName ( ) : string Returns the factory method name
getFactoryObjectName ( ) : string Returns the class name of the factory for this object, if any
getLifecycleInitializationMethodName ( ) : string Returns the name of the lifecycle initialization method for this object
getLifecycleShutdownMethodName ( ) : string Returns the name of the lifecycle shutdown method for this object
getObjectName ( ) : string Returns the object name
getPackageKey ( ) : string Returns the package key
getProperties ( ) : array Returns the currently set injection properties of the object
getScope ( ) : string Returns the scope for this object
isCreatedByFactory ( ) : boolean Returns true if factoryObjectName and factoryMethodName are defined.
setArgument ( ConfigurationArgument $argument ) : void Setter function for a single constructor argument
setArguments ( array $arguments ) : void Setter function for injection constructor arguments. If an empty array is passed to this method, all (possibly) defined constructor arguments are removed from the configuration.
setAutowiring ( integer $autowiring ) : void Setter function for property "autowiring"
setClassName ( string $className ) : void Setter function for property "className"
setConfigurationSourceHint ( string $hint ) : void Sets some information (hint) about where this configuration has been created.
setFactoryMethodName ( string $methodName ) : void Sets the name of the factory method
setFactoryObjectName ( string $objectName ) : void Sets the class name of a factory which is in charge of instantiating this object
setLifecycleInitializationMethodName ( string $lifecycleInitializationMethodName ) : void Setter function for property "lifecycleInitializationMethodName"
setLifecycleShutdownMethodName ( string $lifecycleShutdownMethodName ) : void Setter function for property "lifecycleShutdownMethodName"
setObjectName ( $objectName ) : void Sets the object name
setPackageKey ( string $packageKey ) : void Sets the package key
setProperties ( array $properties ) : void Setter function for injection properties. If an empty array is passed to this method, all (possibly) defined properties are removed from the configuration.
setProperty ( ConfigurationProperty $property ) : void Setter function for a single injection property
setScope ( integer $scope ) : void Setter function for property "scope"

메소드 상세

__construct() 공개 메소드

The constructor
public __construct ( string $objectName, string $className = null )
$objectName string The unique identifier of the object
$className string Name of the class which provides the functionality of this object

getArguments() 공개 메소드

Returns a sorted array of constructor arguments indexed by position (starting with "1")
public getArguments ( ) : array
리턴 array

getAutowiring() 공개 메소드

Returns the autowiring mode for the configured object
public getAutowiring ( ) : integer
리턴 integer Value of one of the AUTOWIRING_MODE_* constants

getClassName() 공개 메소드

Returns the class name
public getClassName ( ) : string
리턴 string Name of the implementing class of this object

getConfigurationSourceHint() 공개 메소드

Returns some information (if any) about where this configuration has been created.
public getConfigurationSourceHint ( ) : string
리턴 string The hint - e.g. the filename of the configuration file

getFactoryMethodName() 공개 메소드

Returns the factory method name
public getFactoryMethodName ( ) : string
리턴 string The factory method name

getFactoryObjectName() 공개 메소드

Returns the class name of the factory for this object, if any
public getFactoryObjectName ( ) : string
리턴 string The factory class name

getLifecycleInitializationMethodName() 공개 메소드

Returns the name of the lifecycle initialization method for this object
public getLifecycleInitializationMethodName ( ) : string
리턴 string The name of the initialization method

getLifecycleShutdownMethodName() 공개 메소드

Returns the name of the lifecycle shutdown method for this object
public getLifecycleShutdownMethodName ( ) : string
리턴 string The name of the shutdown method

getObjectName() 공개 메소드

Returns the object name
public getObjectName ( ) : string
리턴 string object name

getPackageKey() 공개 메소드

Returns the package key
public getPackageKey ( ) : string
리턴 string Key of the package this object is part of

getProperties() 공개 메소드

Returns the currently set injection properties of the object
public getProperties ( ) : array
리턴 array

getScope() 공개 메소드

Returns the scope for this object
public getScope ( ) : string
리턴 string The scope, one of the SCOPE constants

isCreatedByFactory() 공개 메소드

Returns true if factoryObjectName and factoryMethodName are defined.
public isCreatedByFactory ( ) : boolean
리턴 boolean

setArgument() 공개 메소드

Setter function for a single constructor argument
public setArgument ( ConfigurationArgument $argument ) : void
$argument ConfigurationArgument The argument
리턴 void

setArguments() 공개 메소드

Setter function for injection constructor arguments. If an empty array is passed to this method, all (possibly) defined constructor arguments are removed from the configuration.
public setArguments ( array $arguments ) : void
$arguments array
리턴 void

setAutowiring() 공개 메소드

Setter function for property "autowiring"
public setAutowiring ( integer $autowiring ) : void
$autowiring integer One of the AUTOWIRING_MODE_* constants
리턴 void

setClassName() 공개 메소드

Setter function for property "className"
public setClassName ( string $className ) : void
$className string Name of the class which provides the functionality for this object
리턴 void

setConfigurationSourceHint() 공개 메소드

Sets some information (hint) about where this configuration has been created.
public setConfigurationSourceHint ( string $hint ) : void
$hint string The hint - e.g. the filename of the configuration file
리턴 void

setFactoryMethodName() 공개 메소드

Sets the name of the factory method
public setFactoryMethodName ( string $methodName ) : void
$methodName string The factory method name
리턴 void

setFactoryObjectName() 공개 메소드

Sets the class name of a factory which is in charge of instantiating this object
public setFactoryObjectName ( string $objectName ) : void
$objectName string Valid object name of a factory
리턴 void

setLifecycleInitializationMethodName() 공개 메소드

Setter function for property "lifecycleInitializationMethodName"
public setLifecycleInitializationMethodName ( string $lifecycleInitializationMethodName ) : void
$lifecycleInitializationMethodName string Name of the method to call after setter injection
리턴 void

setLifecycleShutdownMethodName() 공개 메소드

Setter function for property "lifecycleShutdownMethodName"
public setLifecycleShutdownMethodName ( string $lifecycleShutdownMethodName ) : void
$lifecycleShutdownMethodName string Name of the method to call during shutdown of the framework
리턴 void

setObjectName() 공개 메소드

Sets the object name
public setObjectName ( $objectName ) : void
리턴 void

setPackageKey() 공개 메소드

Sets the package key
public setPackageKey ( string $packageKey ) : void
$packageKey string Key of the package this object is part of
리턴 void

setProperties() 공개 메소드

Setter function for injection properties. If an empty array is passed to this method, all (possibly) defined properties are removed from the configuration.
public setProperties ( array $properties ) : void
$properties array Array of ConfigurationProperty
리턴 void

setProperty() 공개 메소드

Setter function for a single injection property
public setProperty ( ConfigurationProperty $property ) : void
$property ConfigurationProperty
리턴 void

setScope() 공개 메소드

Setter function for property "scope"
public setScope ( integer $scope ) : void
$scope integer Name of the scope
리턴 void

프로퍼티 상세

$arguments 보호되어 있는 프로퍼티

Arguments of the constructor detected by reflection
protected array $arguments
리턴 array

$autowiring 보호되어 있는 프로퍼티

Mode of the autowiring feature. One of the AUTOWIRING_MODE_* constants
protected int $autowiring
리턴 integer

$className 보호되어 있는 프로퍼티

Name of the class the object is based on
protected string $className
리턴 string

$configurationSourceHint 보호되어 있는 프로퍼티

Information about where this configuration has been created. Used in error messages to make debugging easier.
protected string $configurationSourceHint
리턴 string

$factoryMethodName 보호되어 있는 프로퍼티

Name of the factory method. Only used if $factoryObjectName is set.
protected string $factoryMethodName
리턴 string

$factoryObjectName 보호되어 있는 프로퍼티

If set, specifies the factory object name used to create this object
protected string $factoryObjectName
리턴 string

$lifecycleInitializationMethodName 보호되어 있는 프로퍼티

Name of the method to call during the initialization of the object (after dependencies are injected)
protected string $lifecycleInitializationMethodName
리턴 string

$lifecycleShutdownMethodName 보호되어 있는 프로퍼티

Name of the method to call during the shutdown of the framework
protected string $lifecycleShutdownMethodName
리턴 string

$objectName 보호되어 있는 프로퍼티

Name of the object
protected string $objectName
리턴 string

$packageKey 보호되어 있는 프로퍼티

Key of the package the specified object is part of
protected string $packageKey
리턴 string

$properties 보호되어 있는 프로퍼티

Array of properties which are injected into the object
protected array $properties
리턴 array

$scope 보호되어 있는 프로퍼티

protected string $scope
리턴 string