public function buildTableRows($services)
{
$rows = array();
foreach (array_keys($services) as $identifier) {
try {
$service = $this->resolveService($identifier);
$rows[] = array($identifier, $this->getServiceDescription($service), $this->calculateServiceResolutionTime($identifier));
} catch (Exception $e) {
$rows[] = array($identifier, 'Unable to resolve service.', 'N/A');
}
}
return $rows;
}