protected function process($extraConf = null)
    {
        if (null === $extraConf && count($this->config) <= 0) {
            return null;
        }

        $processor = new Processor();
        $configuration = new PropelConfiguration();

        if (is_array($extraConf)) {
            $this->config = array_replace_recursive($this->config, $extraConf);
        }

        $this->config = $processor->processConfiguration($configuration, $this->config);

        $this->cleanupSlaveConnections();
        $this->cleanupConnections();
    }
protected function process($extraConf = null)
    {
        if (null === $extraConf && count($this->config) <= 0) {
            return null;
        }

        $processor = new Processor();
        $configuration = new PropelConfiguration();

        if (is_array($extraConf)) {
            $this->config = array_replace_recursive($this->config, $extraConf);
        }

        $this->config = $processor->processConfiguration($configuration, $this->config);

        $this->cleanupSlaveConnections();
        $this->cleanupConnections();
    }
protected function process ( $ extraConf = null ) { if ( null === $ extraConf && count ( $ this -> config ) <= 0 ) { return null ; } $ processor = new Processor ( ) ; $ configuration = new PropelConfiguration ( ) ; if ( is_array ( $ extraConf ) ) { $ this -> config = array_replace_recursive ( $ this -> config , $ extraConf ) ; } $ this -> config = $ processor -> processConfiguration ( $ configuration , $ this -> config ) ; $ this -> cleanupSlaveConnections ( ) ; $ this -> cleanupConnections ( ) ; }
Validate the configuration array via Propel\Common\Config\PropelConfiguration class
and add default values.

@param array $extraConf Extra configuration to merge before processing. It's useful when a child class overwrite
the constructor to pass a built-in array of configuration, without load it from file. I.e.
Propel\Generator\Config\QuickGeneratorConfig class.
Validate the configuration array via Propel \ Common \ Config \ PropelConfiguration class and add default values .