public function onErrorHighPri(Event $error)
    {
        $this->throttleDataRead();
        $hash = $error['hash'];
        $error['email'] = ($error['type'] & $this->cfg['emailMask'])
            && $error['isFirstOccur']
            && $this->cfg['emailTo'];
        $error['stats'] = array(
            'tsEmailed'  => 0,
            'countSince' => 0,
            'emailedTo'  => '',
        );
        if (isset($this->throttleData['errors'][$hash])) {
            $stats = \array_intersect_key($this->throttleData['errors'][$hash], $error['stats']);
            $error['stats'] = \array_merge($error['stats'], $stats);
        }
        return;
    }
public function onErrorHighPri(Event $error)
    {
        $this->throttleDataRead();
        $hash = $error['hash'];
        $error['email'] = ($error['type'] & $this->cfg['emailMask'])
            && $error['isFirstOccur']
            && $this->cfg['emailTo'];
        $error['stats'] = array(
            'tsEmailed'  => 0,
            'countSince' => 0,
            'emailedTo'  => '',
        );
        if (isset($this->throttleData['errors'][$hash])) {
            $stats = \array_intersect_key($this->throttleData['errors'][$hash], $error['stats']);
            $error['stats'] = \array_merge($error['stats'], $stats);
        }
        return;
    }
public function onErrorHighPri ( Event $ error ) { $ this -> throttleDataRead ( ) ; $ hash = $ error [ 'hash' ] ; $ error [ 'email' ] = ( $ error [ 'type' ] & $ this -> cfg [ 'emailMask' ] ) && $ error [ 'isFirstOccur' ] && $ this -> cfg [ 'emailTo' ] ; $ error [ 'stats' ] = array ( 'tsEmailed' => 0 , 'countSince' => 0 , 'emailedTo' => '' , ) ; if ( isset ( $ this -> throttleData [ 'errors' ] [ $ hash ] ) ) { $ stats = \ array_intersect_key ( $ this -> throttleData [ 'errors' ] [ $ hash ] , $ error [ 'stats' ] ) ; $ error [ 'stats' ] = \ array_merge ( $ error [ 'stats' ] , $ stats ) ; } return ; }
load throttle stats for passed error

@param Event $error error event

@return void
load throttle stats for passed error