# copyConfigurationFrom method

1. @override

void copyConfigurationFrom(

1. ConfigurablePodFactory otherFactory

)
override

Copies configuration from another factory.

This method copies various configuration settings including parent factory, scope registrations, and other factory behaviors.

## Usage Example:

    final newFactory = JetleafPodFactory();
    newFactory.copyConfigurationFrom(templateFactory);

@param otherFactory The factory to copy configuration from

## Implementation

    @override
    void copyConfigurationFrom(ConfigurablePodFactory otherFactory) {
    		super.copyConfigurationFrom(otherFactory);
    		if (otherFactory is AbstractAutowirePodFactory) {
    			_allowCircularReferences = otherFactory._allowCircularReferences;
        _allowDefinitionOverriding = otherFactory._allowDefinitionOverriding;
    			_ignoredDependencyTypes.addAll(otherFactory._ignoredDependencyTypes);
    			_ignoredDependencyInterfaces.addAll(otherFactory._ignoredDependencyInterfaces);
        _initMethodsManager = otherFactory._initMethodsManager;
    		}
    	}