public function getActions()
    {
        $actions = [];
        foreach ($this->data['actions'] as $action) {
            $name = $action['name'];
            $time = isset($action['time'])
                ? $action['time']
                : 0;
            if (isset($actions[$name])) {
                $actions[$name]['count'] += 1;
                $actions[$name]['time'] += $time;
            } else {
                $actions[$name] = ['name' => $name, 'count' => 1, 'time' => $time];
            }
        }

        return array_values($actions);
    }
public function getActions()
    {
        $actions = [];
        foreach ($this->data['actions'] as $action) {
            $name = $action['name'];
            $time = isset($action['time'])
                ? $action['time']
                : 0;
            if (isset($actions[$name])) {
                $actions[$name]['count'] += 1;
                $actions[$name]['time'] += $time;
            } else {
                $actions[$name] = ['name' => $name, 'count' => 1, 'time' => $time];
            }
        }

        return array_values($actions);
    }
public function getActions ( ) { $ actions = [ ] ; foreach ( $ this -> data [ 'actions' ] as $ action ) { $ name = $ action [ 'name' ] ; $ time = isset ( $ action [ 'time' ] ) ? $ action [ 'time' ] : 0 ; if ( isset ( $ actions [ $ name ] ) ) { $ actions [ $ name ] [ 'count' ] += 1 ; $ actions [ $ name ] [ 'time' ] += $ time ; } else { $ actions [ $ name ] = [ 'name' => $ name , 'count' => 1 , 'time' => $ time ] ; } } return array_values ( $ actions ) ; }
Gets executed actions.

@return array
Gets executed actions .