code: public function getExecutionTime()
      {
          $terminationTimestamp = $this->terminatedAt == null ? time() : $this->terminatedAt->format('U');
  
          return $terminationTimestamp - $this->createdAt->format('U');
      }
docs: {@inheritdoc}