/**
  * Set average cadence from array
  */
 private function setAvgCadenceFromArray()
 {
     $array = $this->TrainingObject->getArrayCadence();
     if (!empty($array) && max($array) > 30) {
         $array = array_filter($array, 'ParserAbstract__ArrayFilterForLowEntries');
         $this->TrainingObject->setCadence(round(array_sum($array) / count($array)));
     }
 }
 /**
  * Set average cadence from array
  */
 private function setAvgCadenceFromArray()
 {
     $array = $this->TrainingObject->getArrayCadence();
     $this->TrainingObject->setCadence(round(array_sum($array) / count($array)));
 }