Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getBestLapsBySectorGroupedByParticipant($sector)
 {
     // There is cache
     if (array_key_exists($sector, $this->cache_best_laps_by_sector_grouped_by_participant)) {
         return $this->cache_best_laps_by_sector_grouped_by_participant[$sector];
     }
     // Return sorted laps and cache it
     return $this->cache_best_laps_by_sector_grouped_by_participant[$sector] = parent::getBestLapsBySectorGroupedByParticipant($sector);
 }