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;
    }
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;
    }
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 ; }
Collects activity.

@param PostActionEvent $event
Collects activity .