public function getConnectionParametersArray($section = 'runtime')
    {
        if (!in_array($section, ['runtime', 'generator'])) {
            return null;
        }

        $output = [];
        foreach ($this->config[$section]['connections'] as $connection) {
            $output[$connection] = $this->config['database']['connections'][$connection];
        }

        return $output;
    }
public function getConnectionParametersArray($section = 'runtime')
    {
        if (!in_array($section, ['runtime', 'generator'])) {
            return null;
        }

        $output = [];
        foreach ($this->config[$section]['connections'] as $connection) {
            $output[$connection] = $this->config['database']['connections'][$connection];
        }

        return $output;
    }
public function getConnectionParametersArray ( $ section = 'runtime' ) { if ( ! in_array ( $ section , [ 'runtime' , 'generator' ] ) ) { return null ; } $ output = [ ] ; foreach ( $ this -> config [ $ section ] [ 'connections' ] as $ connection ) { $ output [ $ connection ] = $ this -> config [ 'database' ] [ 'connections' ] [ $ connection ] ; } return $ output ; }
Return an array of parameters relative to configured connections, for `runtime` or `generator` section.
It's useful for \Propel\Generator\Command\ConfigConvertCommand class

@param  string     $section `runtime` or `generator` section
@return array|null
Return an array of parameters relative to configured connections for runtime or generator section . It s useful for \ Propel \ Generator \ Command \ ConfigConvertCommand class