getDomain() public method

Get the domain that this log operation pertains to.
public getDomain ( ) : string
return string
 /**
  * {@inheritdoc}
  */
 public function start(LogOperation $operation)
 {
     if (!isset($this->opsByDomain[$operation->getDomain()])) {
         $this->opsByDomain[$operation->getDomain()] = [];
     }
     $this->opsByDomain[$operation->getDomain()][] = $operation;
     $this->allOperations[] = $operation;
 }
 /**
  * @param LogOperation $log
  * @return string
  */
 protected function getLogMessage(LogOperation $log)
 {
     $startOrStop = is_null($log->getStopTime()) ? 'Start' : 'End';
     $message = "(" . $log->getDomain() . " on " . $log->getOperation()->getServer() . ") {$startOrStop} " . $log->getOperation()->getName() . " Operation - ";
     $params = [];
     if (is_null($log->getStopTime())) {
         foreach ($log->getOperation()->getLogArray() as $key => $value) {
             if ($key != "Server") {
                 $params[] = "{$key}: {$value}";
             }
         }
     } else {
         if (!is_null($log->getError())) {
             $params[] = "Error: " . $log->getError();
         }
         $params[] = "Completed in " . round(($log->getStopTime() - $log->getStartTime()) * 1000) . " ms.";
     }
     $message .= implode(', ', $params);
     return $message;
 }