/**
  * @param CertificationEvent $event
  */
 public function stopTimer(CertificationEvent $event)
 {
     $certification = $event->getCertification();
     $certification->getMetrics()->getTimer()->stop();
 }
 /**
  * @param CertificationEvent $event
  */
 public function increment(CertificationEvent $event)
 {
     $this->redisClient->incr('total');
     $this->redisClient->incr($event->getCertification()->getContext()->getName());
     $this->redisClient->bgsave();
 }