DI\Definition\ObjectDefinition::mergePropertyInjections PHP Method

mergePropertyInjections() private method

private mergePropertyInjections ( ObjectDefinition $definition )
$definition ObjectDefinition
    private function mergePropertyInjections(ObjectDefinition $definition)
    {
        foreach ($definition->propertyInjections as $propertyName => $propertyInjection) {
            if (!isset($this->propertyInjections[$propertyName])) {
                // Add
                $this->propertyInjections[$propertyName] = $propertyInjection;
            }
        }
    }