replaceValue() public method

public replaceValue ( array $currentAxis ) : mixed
$currentAxis array
return mixed
Example #1
0
 /**
  * @param array $sample
  */
 private function preprocessSample(array &$sample)
 {
     foreach ($sample as $column => &$value) {
         if ($value === $this->missingValue) {
             $value = $this->strategy->replaceValue($this->getAxis($column, $sample));
         }
     }
 }