src/Service/DbalConnectionCollection.php
public function toArray()
    {
        $connections = array();

        /** @var $connection DbalConnection */
        foreach ($this as $key => $connection)
        {
            $connections[$key] = $connection->config();
        }

        return $connections;
    }
public function toArray()
    {
        $connections = array();

        /** @var $connection DbalConnection */
        foreach ($this as $key => $connection)
        {
            $connections[$key] = $connection->config();
        }

        return $connections;
    }
public function toArray ( ) { $ connections = array ( ) ; /** @var $connection DbalConnection */ foreach ( $ this as $ key => $ connection ) { $ connections [ $ key ] = $ connection -> config ( ) ; } return $ connections ; }
Only returns connection configs indexed by dbname

@return array
Only returns connection configs indexed by dbname