private function doExport(array $services, array &$data)
{
foreach ($services as $handle => $service) {
if (is_array($service)) {
$this->doExport($service, $data);
} elseif ($service instanceof Base) {
if ($service instanceof Base) {
$data[$handle] = $service->export();
}
}
}
}