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