Exemple #1
0
 /**
  * Stops the last profiling process
  *
  * @return Null
  */
 public function stop()
 {
     foreach ($this->profilers as $profiler) {
         if (is_null($this->profile->getEndTime())) {
             $child_profile = $profiler->fetch();
             $this->profile->addProfile($child_profile);
             $profiler->stop();
         }
     }
     $this->profile->close();
 }