Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getBadLaps($above_percent = 107)
 {
     // There is cache
     if ($this->cache_bad_laps !== null) {
         return $this->cache_bad_laps;
     }
     // Return the laps with proper keys and cache it
     return $this->cache_bad_laps = parent::getBadLaps($above_percent);
 }