code: public function collectActivity(PostActionEvent $event)
      {
          $this->activity[] = array(
              'action_name' => $event->getAction()->getName(),
              'group_name' => $event->getAction()->getGroup()->getName(),
              'service_name' => $event->getAction()->getGroup()->getService()->getName(),
              'execution_time' => round($event->getExecutionTime() * 1000, 2),
              'arguments' => $event->getArguments(),
              'extra_data' => $event->getExtraData(),
          );
  
          $this->totalExecutionTime += $event->getExecutionTime();
          $this->totalCallCount += 1;
      }
docs: Collects activity.
  
  @param PostActionEvent $event