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

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

        return $connections;
    }