Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getBestLapsGroupedByParticipant()
 {
     // There is cache
     if ($this->cache_best_laps_grouped_by_participant !== null) {
         return $this->cache_best_laps_grouped_by_participant;
     }
     // Return sorted laps and cache it
     return $this->cache_best_laps_grouped_by_participant = parent::getBestLapsGroupedByParticipant();
 }