PHP Class Neos\Flow\Tests\Functional\ObjectManagement\DependencyInjectionTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$configurationManager Neos\Flow\Configuration\ConfigurationManager

Méthodes publiques

Méthode Description
constructorInjectionCanHandleCombinationsOfRequiredAutowiredAndOptionalArguments ( )
constructorInjectionInSingletonCanHandleArgumentDefinedInSettings ( )
constructorsOfPrototypeObjectsAcceptNullArguments ( )
constructorsOfSingletonObjectsAcceptNullArguments ( )
dependencyInjectionWorksForFinalClasses ( )
ifItExistsASetterIsUsedToInjectPrimitiveTypePropertiesFromConfiguration ( )
injectedPropertiesAreAvailableInInitializeObjectEvenIfTheClassHasBeenExtended ( ) See http://forge.typo3.org/issues/43659
injectionOfAllSettings ( )
injectionOfConfigurationCallsRespectiveSetterIfItExists ( )
injectionOfCurrentPackageSettings ( )
injectionOfNonExistingSettingsOverridesDefaultValue ( )
injectionOfObjectFromSameNamespace ( )
injectionOfObjectFromSubNamespace ( )
injectionOfOtherConfigurationTypes ( )
injectionOfSingleSettings ( )
injectionOfSingleSettingsFromSpecificPackage ( )
injectionOfSpecifiedPackageSettings ( )
onCreationOfObjectInjectionInParentClassIsDoneOnlyOnce ( )
propertiesAreReinjectedIfTheObjectIsUnserialized ( )
propertiesOfVariousPrimitiveTypeAreSetInSingletonPropertiesIfConfigured ( )
setUp ( )
singletonCanHandleConstructorArgumentWithCustomFactory ( )
singletonCanHandleInjectedPrototypeWithCustomFactory ( )
singletonCanHandleInjectedPrototypeWithSettingArgument ( )
singletonObjectsCanBeInjectedIntoConstructorsOfSingletonObjects ( )
transitivePrototypeDependenciesWithExplicitObjectConfigurationAreConstructedCorrectly ( ) This test verifies the behaviour described in FLOW-175.
virtualObjectsDefinedInObjectsYamlCanUseAFactoryForTheirActualImplementation ( )

Method Details

constructorInjectionCanHandleCombinationsOfRequiredAutowiredAndOptionalArguments() public méthode

constructorInjectionInSingletonCanHandleArgumentDefinedInSettings() public méthode

constructorsOfPrototypeObjectsAcceptNullArguments() public méthode

constructorsOfSingletonObjectsAcceptNullArguments() public méthode

dependencyInjectionWorksForFinalClasses() public méthode

ifItExistsASetterIsUsedToInjectPrimitiveTypePropertiesFromConfiguration() public méthode

injectedPropertiesAreAvailableInInitializeObjectEvenIfTheClassHasBeenExtended() public méthode

See http://forge.typo3.org/issues/43659

injectionOfAllSettings() public méthode

injectionOfConfigurationCallsRespectiveSetterIfItExists() public méthode

injectionOfCurrentPackageSettings() public méthode

injectionOfNonExistingSettingsOverridesDefaultValue() public méthode

injectionOfObjectFromSameNamespace() public méthode

injectionOfObjectFromSubNamespace() public méthode

injectionOfOtherConfigurationTypes() public méthode

injectionOfSingleSettings() public méthode

injectionOfSingleSettingsFromSpecificPackage() public méthode

injectionOfSpecifiedPackageSettings() public méthode

onCreationOfObjectInjectionInParentClassIsDoneOnlyOnce() public méthode

propertiesAreReinjectedIfTheObjectIsUnserialized() public méthode

propertiesOfVariousPrimitiveTypeAreSetInSingletonPropertiesIfConfigured() public méthode

setUp() public méthode

public setUp ( )

singletonCanHandleConstructorArgumentWithCustomFactory() public méthode

singletonCanHandleInjectedPrototypeWithCustomFactory() public méthode

singletonCanHandleInjectedPrototypeWithSettingArgument() public méthode

singletonObjectsCanBeInjectedIntoConstructorsOfSingletonObjects() public méthode

transitivePrototypeDependenciesWithExplicitObjectConfigurationAreConstructedCorrectly() public méthode

Please note that this issue occurs ONLY when creating an object with a dependency that itself takes an prototype-scoped object as constructor argument and that dependency was explicitly configured in the package's Objects.yaml.
See also: https://jira.neos.io/browse/FLOW-175

virtualObjectsDefinedInObjectsYamlCanUseAFactoryForTheirActualImplementation() public méthode

Property Details

$configurationManager protected_oe property

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Résultat Neos\Flow\Configuration\ConfigurationManager