src/Workout/Track.php
public function length(): float
    {
        if ($this->length === 0) {
            $this->length = $this->recomputeLength();
        }

        return $this->length;

    }
public function length(): float
    {
        if ($this->length === 0) {
            $this->length = $this->recomputeLength();
        }

        return $this->length;

    }
public function length ( ) : float { if ( $ this -> length === 0 ) { $ this -> length = $ this -> recomputeLength ( ) ; } return $ this -> length ; }
Get the length of the track in meters.

@return float
Get the length of the track in meters .