예제 #1
0
파일: Timer.php 프로젝트: lamenath/fbp
 /**
  * {@inheritdoc}
  */
 public function stop(InternalRequestInterface $internalRequest)
 {
     if ($internalRequest->hasParameter(self::START_TIME) && !$internalRequest->hasParameter(self::TIME)) {
         $internalRequest->setParameter(self::TIME, $this->getTime() - $internalRequest->getParameter(self::START_TIME));
     }
 }