private function getStopwatchEventName(RequestInterface $request)
    {
        $name = sprintf('%s %s', $request->getMethod(), $request->getUri());

        if (isset($this->eventNames[$name])) {
            $name .= sprintf(' [#%d]', ++$this->eventNames[$name]);
        } else {
            $this->eventNames[$name] = 1;
        }

        return $name;
    }
private function getStopwatchEventName(RequestInterface $request)
    {
        $name = sprintf('%s %s', $request->getMethod(), $request->getUri());

        if (isset($this->eventNames[$name])) {
            $name .= sprintf(' [#%d]', ++$this->eventNames[$name]);
        } else {
            $this->eventNames[$name] = 1;
        }

        return $name;
    }
private function getStopwatchEventName ( RequestInterface $ request ) { $ name = sprintf ( '%s %s' , $ request -> getMethod ( ) , $ request -> getUri ( ) ) ; if ( isset ( $ this -> eventNames [ $ name ] ) ) { $ name .= sprintf ( ' [#%d]' , ++ $ this -> eventNames [ $ name ] ) ; } else { $ this -> eventNames [ $ name ] = 1 ; } return $ name ; }
Generates the event name.

@param RequestInterface $request

@return string
Generates the event name .